Message165507
Ah, __main__, thou art such a special beast.
Here's my current plan:
1. __main__ will be initialised with __loader__ set to BuiltinImporter. This covers cases like the interactive prompt or execution of stdin where there is no source code available for __main__
2. When executing a script (either directly or via runpy), __main__.__loader__ will be *changed* at a later point to refer to the appropriate kind of loader object. |
|
Date |
User |
Action |
Args |
2012-07-15 05:41:25 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, georg.brandl, eric.araujo, Arfrever |
2012-07-15 05:41:25 | ncoghlan | set | messageid: <1342330885.13.0.047091028897.issue15314@psf.upfronthosting.co.za> |
2012-07-15 05:41:24 | ncoghlan | link | issue15314 messages |
2012-07-15 05:41:24 | ncoghlan | create | |
|