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 eric.snow, python-dev, rhettinger, serhiy.storchaka
Date 2015-10-18.08:24:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a patch that makes both implementations to use type(self) instead of self.__class__ in __repr__(), __reduce__() and copy().

There is a difference between current implementations. Python implementation uses self.__class__ in copy(), C implementation uses type(self).
Date User Action Args
2015-10-18 08:24:04serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, python-dev, eric.snow
2015-10-18 08:24:04serhiy.storchakasetmessageid: <>
2015-10-18 08:24:04serhiy.storchakalinkissue25410 messages
2015-10-18 08:24:03serhiy.storchakacreate