[IronPython] int() and long() incompatibility

Dino Viehland dinov at exchange.microsoft.com
Tue Oct 10 03:28:42 CEST 2006


Thanks for the bug report Seo.  I've opened CodePlex bug #4197 to track this (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=4197).

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Monday, October 09, 2006 7:12 AM
To: Discussion of IronPython
Subject: [IronPython] int() and long() incompatibility

>>> 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
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list