Message253149
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:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, python-dev, eric.snow |
| 2015-10-18 08:24:04 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2015-10-18 08:24:04 | serhiy.storchaka | link | issue25410 messages |
| 2015-10-18 08:24:03 | serhiy.storchaka | create | |
|