Message253149
| 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:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, python-dev, eric.snow |
| 2015年10月18日 08:24:04 | serhiy.storchaka | set | messageid: <1445156644.09.0.859579864928.issue25410@psf.upfronthosting.co.za> |
| 2015年10月18日 08:24:04 | serhiy.storchaka | link | issue25410 messages |
| 2015年10月18日 08:24:03 | serhiy.storchaka | create |
|