Message238721
| Author |
serhiy.storchaka |
| Recipients |
eltoder, pitrou, serhiy.storchaka |
| Date |
2015年03月20日.20:51:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1426884660.4.0.546594682058.issue23726@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
>>> class UserIntSlots(int):
... __slots__ = ()
... def __repr__(s): return '5'
...
>>> (4).__class__ = UserIntSlots
>>> 2+2
5
>>> type(2+2)
<class '__main__.UserIntSlots'>
It looks weird. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年03月20日 20:51:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, eltoder |
| 2015年03月20日 20:51:00 | serhiy.storchaka | set | messageid: <1426884660.4.0.546594682058.issue23726@psf.upfronthosting.co.za> |
| 2015年03月20日 20:51:00 | serhiy.storchaka | link | issue23726 messages |
| 2015年03月20日 20:51:00 | serhiy.storchaka | create |
|