Author ncoghlan
Recipients Pascal.Chambon, barry, brett.cannon, eric.snow, inada.naoki, isoschiz, kristjan.jonsson, 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, inada.naoki, eric.snow, serhiy.storchaka, pconnell, isoschiz, Pascal.Chambon
2014-10-09 22:11:46ncoghlanlinkissue17636 messages
2014-10-09 22:11:46ncoghlancreate