[IronPython] int() and long() incompatibility

Sanghyeon Seo sanxiyn at gmail.com
Mon Oct 9 16:12:17 CEST 2006

>>> int('0x20', 16)
ValueError: invalid integer number literal

Same for long. Python library reference isn't clear on this point, but
my reading doesn't support this misfeature since one can use radix 0
to the same effect. Anyway, there are codes out there depending on
this. :(

Seo Sanghyeon

More information about the Ironpython-users mailing list