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 levkivskyi
Recipients abarry, alegonz, levkivskyi, steven.daprano
Date 2019-06-11.11:30:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560252616.88.0.87893058923.issue28869@roundup.psfhosted.org>
In-reply-to
Content
I think we can proceed with option A, but only if doesn't cause visible slow-down for creating ABCs (which is already slower that normal classes). TBH, I don't want to document A as "official" recipe (maybe however mention the problem in the `pickle` module docs).

Note that other "class factories" in stdlib (like collections.namedtuple) do almost exactly option A.
History
Date User Action Args
2019-06-11 11:30:16levkivskyisetrecipients: + levkivskyi, steven.daprano, abarry, alegonz
2019-06-11 11:30:16levkivskyisetmessageid: <1560252616.88.0.87893058923.issue28869@roundup.psfhosted.org>
2019-06-11 11:30:16levkivskyilinkissue28869 messages
2019-06-11 11:30:16levkivskyicreate