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 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.
History
Date User Action Args
2013-08-17 21:58:59ncoghlansetrecipients: + ncoghlan, rhettinger, pitrou, alexandre.vassalotti, Arfrever, asvetlov, neologix, serhiy.storchaka, mstefanro
2013-08-17 21:58:59ncoghlansetmessageid: <1376776739.06.0.647100321402.issue17810@psf.upfronthosting.co.za>
2013-08-17 21:58:59ncoghlanlinkissue17810 messages
2013-08-17 21:58:58ncoghlancreate