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 ncoghlan
Recipients Pascal.Chambon, barry, brett.cannon, eric.snow, isoschiz, kristjan.jonsson, methane, ncoghlan, pconnell, pitrou, pje, serhiy.storchaka
Date 2014-10-09.22:11:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADiSq7ePoxnNkk2wnEJj95FKYr=RFMhtMyPFTSuq49wYUYHFOg@mail.gmail.com>
In-reply-to <1412889709.14.0.832298300925.issue17636@psf.upfronthosting.co.za>
Content
If I understand your question correctly, then yes, __package__ should be
used when converting explicit relative imports to absolute ones.

To write a test, run a submodule that needs the new fallback feature via
the -m switch (it will fail if using __name__)
History
Date User Action Args
2014-10-09 22:11:46ncoghlansetrecipients: + ncoghlan, barry, brett.cannon, pje, pitrou, kristjan.jonsson, methane, eric.snow, serhiy.storchaka, pconnell, isoschiz, Pascal.Chambon
2014-10-09 22:11:46ncoghlanlinkissue17636 messages
2014-10-09 22:11:46ncoghlancreate