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 <1445156644.09.0.859579864928.issue25410@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
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: <1445156644.09.0.859579864928.issue25410@psf.upfronthosting.co.za>
2015-10-18 08:24:04serhiy.storchakalinkissue25410 messages
2015-10-18 08:24:03serhiy.storchakacreate