Message195522
Potentially relevant to this: we hope to have PEP 451 done for 3.4, which adds a __spec__ attribute to module objects, and will also tweak runpy to ensure -m registers __main__ under it's real name as well.
If pickle uses __spec__.name in preference to __name__ when __spec__ is defined, then objects defined in __main__ modules run via -m should start being pickled correctly. |
|
Date |
User |
Action |
Args |
2013-08-17 21:58:59 | ncoghlan | set | recipients:
+ ncoghlan, rhettinger, pitrou, alexandre.vassalotti, Arfrever, asvetlov, neologix, serhiy.storchaka, mstefanro |
2013-08-17 21:58:59 | ncoghlan | set | messageid: <1376776739.06.0.647100321402.issue17810@psf.upfronthosting.co.za> |
2013-08-17 21:58:59 | ncoghlan | link | issue17810 messages |
2013-08-17 21:58:58 | ncoghlan | create | |
|