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 brett.cannon
Recipients barry, brett.cannon, eric.araujo, eric.snow, georg.brandl, larry, ncoghlan, skrah
Date 2012-07-30.21:41:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343684477.77.0.647520030121.issue15295@psf.upfronthosting.co.za>
In-reply-to
Content
To answer a couple of Barry's comments in reply to Eric...

__package__ should be set to the empty string if I'm reading PEP 362 correctly (and importlib isn't broken): "When the import system encounters an explicit relative import in a module without __package__ set (or with it set to None), it will calculate and store the correct value (__name__.rpartition('.')[0] for normal modules and __name__ for package initialisation modules". If someone sets __package__ to None, then importlib fills it in as necessary.

As for the diagram(s), I have attached the overall PDF that I still have from my original Omnifgraffle file (which I don't have a license to anymore) that I built my PyCon 2008 presentation with. It's probably outdated at this point. I will have to redo them for my PyCon Argentina/Brasil (maybe US?) import talks anyway.
History
Date User Action Args
2012-07-30 21:41:17brett.cannonsetrecipients: + brett.cannon, barry, georg.brandl, ncoghlan, larry, eric.araujo, skrah, eric.snow
2012-07-30 21:41:17brett.cannonsetmessageid: <1343684477.77.0.647520030121.issue15295@psf.upfronthosting.co.za>
2012-07-30 21:41:17brett.cannonlinkissue15295 messages
2012-07-30 21:41:16brett.cannoncreate