11 Dec
2013
11 Dec
'13
8:59 a.m.
Serhiy Storchaka added the comment:
PyLong_AsUnsignedLong() and PyLong_AsLong() can return different values for same object. Why __int__ and __index__ should be used for int subclasses at all? I'm not sure this is right solution.
----------
_______________________________________
Python tracker