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 serhiy.storchaka
Recipients abarry, alegonz, levkivskyi, serhiy.storchaka, steven.daprano
Date 2019-06-16.19:33:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560713621.86.0.63063182753.issue28869@roundup.psfhosted.org>
In-reply-to
Content
Getting the module name from the caller's frame is an expensive operation. It is safe to set __module__ to None. In such case the pickle module is able to find the proper module containing the definition of the class.
History
Date User Action Args
2019-06-16 19:33:41serhiy.storchakasetrecipients: + serhiy.storchaka, steven.daprano, levkivskyi, abarry, alegonz
2019-06-16 19:33:41serhiy.storchakasetmessageid: <1560713621.86.0.63063182753.issue28869@roundup.psfhosted.org>
2019-06-16 19:33:41serhiy.storchakalinkissue28869 messages
2019-06-16 19:33:41serhiy.storchakacreate