Message176889
offtopic:
Noticed something pretty annoying:
If a package uses relative imports, e.g.
from . import sibling_module,
then it is impossible to run that package as a script, even with the __main__ trick. |
|
Date |
User |
Action |
Args |
2012-12-04 09:59:25 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, barry, ncoghlan, pitrou, nedbat, Arfrever, asvetlov, chris.jerdonek, eric.snow, serhiy.storchaka, bkabrda, bfroehle |
2012-12-04 09:59:24 | kristjan.jonsson | set | messageid: <1354615164.86.0.582270883821.issue14803@psf.upfronthosting.co.za> |
2012-12-04 09:59:24 | kristjan.jonsson | link | issue14803 messages |
2012-12-04 09:59:24 | kristjan.jonsson | create | |
|