Message178605
This is definitely non-trivial. 1-argument int() works with UserString because __int__() method is defined for UserString (as __float__(), as __complex__()). I.e. UserString looks as number-like for it. Unfortunately there is no way to make a class be string-like without inheriting it from str class. |
|
Date |
User |
Action |
Args |
2012-12-30 19:36:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, ezio.melotti, chris.jerdonek, esc24 |
2012-12-30 19:36:27 | serhiy.storchaka | set | messageid: <1356896187.52.0.969813815554.issue16773@psf.upfronthosting.co.za> |
2012-12-30 19:36:27 | serhiy.storchaka | link | issue16773 messages |
2012-12-30 19:36:27 | serhiy.storchaka | create | |
|