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 JacobHayes, gvanrossum, lukasz.langa, serhiy.storchaka, uriyyo
Date 2021-09-13.21:23:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631568183.87.0.668897826129.issue45167@roundup.psfhosted.org>
In-reply-to
Content
I meant that the current __getattr__ breaks deepcopy(). It can break also other protocols. It already has a list of exceptions, we need to add "__copy__" and "__deepcopy__" in this list. Or maybe exclude all dunder names by default and use a white list?
History
Date User Action Args
2021-09-13 21:23:03serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, lukasz.langa, uriyyo, JacobHayes
2021-09-13 21:23:03serhiy.storchakasetmessageid: <1631568183.87.0.668897826129.issue45167@roundup.psfhosted.org>
2021-09-13 21:23:03serhiy.storchakalinkissue45167 messages
2021-09-13 21:23:03serhiy.storchakacreate