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 elibixby
Recipients elibixby
Date 2018-12-04.20:04:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543953894.66.0.788709270274.issue35410@psf.upfronthosting.co.za>
In-reply-to
Content
__deepcopy__ implementations on metaclasses are ignored because deepcopy explicitly ignores class objects.

It seems to me that more consistent behavior would be to use a null op as a fallback for class objects that do not have any of the relevant methods implemented (deepcopy, reduce, reduce_ex, etc)

I've attached a PR that implements this.
History
Date User Action Args
2018-12-04 20:04:54elibixbysetrecipients: + elibixby
2018-12-04 20:04:54elibixbysetmessageid: <1543953894.66.0.788709270274.issue35410@psf.upfronthosting.co.za>
2018-12-04 20:04:54elibixbylinkissue35410 messages
2018-12-04 20:04:54elibixbycreate