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 <>
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: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: <>
2012-12-04 09:59:24kristjan.jonssonlinkissue14803 messages
2012-12-04 09:59:24kristjan.jonssoncreate