Message166926
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. |
|
Date |
User |
Action |
Args |
2012-07-30 21:41:17 | brett.cannon | set | recipients:
+ brett.cannon, barry, georg.brandl, ncoghlan, larry, eric.araujo, skrah, eric.snow |
2012-07-30 21:41:17 | brett.cannon | set | messageid: <1343684477.77.0.647520030121.issue15295@psf.upfronthosting.co.za> |
2012-07-30 21:41:17 | brett.cannon | link | issue15295 messages |
2012-07-30 21:41:16 | brett.cannon | create | |
|