This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients Ajtag, demian.brecht, docs@python, georg.brandl, r.david.murray, serhiy.storchaka
Date 2015-11-09.17:59:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447091990.45.0.211834322685.issue21818@psf.upfronthosting.co.za>
In-reply-to
Content
The rules are as they are mostly for backwards compatibility. But it is rarely a problem since there is only one object with a given name.

:class:`Cookie` within the docs for cookielib would not be able to link to Cookie.Cookie since it is not found in its scope. :class:`Cookie.Cookie` works, as does :class:`~Cookie.Cookie`.

When you use the "find-in-any-namespace" syntax, i.e. :class:`.Cookie` the type *will* be taken into account.
History
Date User Action Args
2015-11-09 17:59:50georg.brandlsetrecipients: + georg.brandl, r.david.murray, docs@python, serhiy.storchaka, demian.brecht, Ajtag
2015-11-09 17:59:50georg.brandlsetmessageid: <1447091990.45.0.211834322685.issue21818@psf.upfronthosting.co.za>
2015-11-09 17:59:50georg.brandllinkissue21818 messages
2015-11-09 17:59:50georg.brandlcreate