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 eric.snow
Recipients Greg Price, cameron, eric.snow, ncoghlan
Date 2019-11-26.15:32:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574782321.2.0.286988425528.issue36375@roundup.psfhosted.org>
In-reply-to
Content
Exactly. :)

I'd expect PEP 499 to specify changing __module__ of classes and functions from __main__ to the module name (__spec__.name).  This aligns closely with the whole point of the PEP. :)  As a bonus, it will simplify things for pickling (which doesn't inherently deal well with __main__).
History
Date User Action Args
2019-11-26 15:32:01eric.snowsetrecipients: + eric.snow, ncoghlan, cameron, Greg Price
2019-11-26 15:32:01eric.snowsetmessageid: <1574782321.2.0.286988425528.issue36375@roundup.psfhosted.org>
2019-11-26 15:32:01eric.snowlinkissue36375 messages
2019-11-26 15:32:01eric.snowcreate