Message195522
| Author |
ncoghlan |
| Recipients |
Arfrever, alexandre.vassalotti, asvetlov, mstefanro, ncoghlan, neologix, pitrou, rhettinger, serhiy.storchaka |
| Date |
2013年08月17日.21:58:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1376776739.06.0.647100321402.issue17810@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|