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 kristjan.jonsson
Recipients Arfrever, asvetlov, barry, bfroehle, bkabrda, chris.jerdonek, eric.snow, kristjan.jonsson, ncoghlan, nedbat, pitrou, serhiy.storchaka
Date 2012-12-04.09:59:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354615164.86.0.582270883821.issue14803@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-12-04 09:59:25kristjan.jonssonsetrecipients: + kristjan.jonsson, barry, ncoghlan, pitrou, nedbat, Arfrever, asvetlov, chris.jerdonek, eric.snow, serhiy.storchaka, bkabrda, bfroehle
2012-12-04 09:59:24kristjan.jonssonsetmessageid: <1354615164.86.0.582270883821.issue14803@psf.upfronthosting.co.za>
2012-12-04 09:59:24kristjan.jonssonlinkissue14803 messages
2012-12-04 09:59:24kristjan.jonssoncreate