Message228927
| 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:46 | ncoghlan | set | recipients:
+ ncoghlan, barry, brett.cannon, pje, pitrou, kristjan.jonsson, methane, eric.snow, serhiy.storchaka, pconnell, isoschiz, Pascal.Chambon |
| 2014年10月09日 22:11:46 | ncoghlan | link | issue17636 messages |
| 2014年10月09日 22:11:46 | ncoghlan | create |
|