[issue8825] int("0",0) throws exception

2010-05-28 Thread Mark Dickinson
Mark Dickinson added the comment: Dino: I think Clark already did this: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=27186 Sorry; I checked that there was an IronPython issue open before I closed this one, but forgot to mention it here. -- _

[issue8825] int("0",0) throws exception

2010-05-27 Thread Dino Viehland
Dino Viehland added the comment: I've opened a bug in the IronPython bug tracker: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=27209 -- ___ Python tracker ___ __

[issue8825] int("0",0) throws exception

2010-05-26 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +dino.viehland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue8825] int("0",0) throws exception

2010-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: Tests merged to 3.x in r81553, r81554. Closing. -- resolution: -> works for me status: open -> closed ___ Python tracker ___ _

[issue8825] int("0",0) throws exception

2010-05-26 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8825] int("0",0) throws exception

2010-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: Added some test cases in r81551 (trunk) and r81552 (release26-maint). I'll merge these to py3k. But I notice that the rules for py3k are a little odd: >>> int('', 0) 0 >>> int('0001', 0) Traceback (most recent call last): File "", line 1, in ValueErro

[issue8825] int("0",0) throws exception

2010-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: We ought to add a test case for this so that other implementations can detect an error. -- nosy: +rhettinger ___ Python tracker ___

[issue8825] int("0",0) throws exception

2010-05-26 Thread Brian Curtin
Brian Curtin added the comment: That's an IronPython bug, and I see the same thing as you when I run on IP 2.6. You could submit a bug report to them here: http://ironpython.codeplex.com/workitem/list/basic -- ___ Python tracker

[issue8825] int("0",0) throws exception

2010-05-26 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW it works fine on 2.6/2.7/3.1/3.2 on Linux too. -- nosy: +ezio.melotti, michael.foord ___ Python tracker ___ _

[issue8825] int("0",0) throws exception

2010-05-26 Thread C Moss
C Moss added the comment: I'm using MS IronPython 2.6 which is using CPython 2.6.1. Regards, Clark -- ___ Python tracker ___ ___ Pyt

[issue8825] int("0",0) throws exception

2010-05-26 Thread Brian Curtin
Brian Curtin added the comment: Works fine on 2.6 and 3.1 on Windows. -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-li

[issue8825] int("0",0) throws exception

2010-05-26 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. It works for me: Python 2.6.5 (r265:79063, May 18 2010, 17:12:15) [GCC 4.2.1 (Apple Inc. build 5659)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> int("0", 0) 0 What version of Python are you using, and on what pl

[issue8825] int("0",0) throws exception

2010-05-26 Thread C Moss
New submission from C Moss : The expression int("0",0) throws an exception, though the expectation would be to return 0 (zero). int("0x0",0) == 0 int("00",0) = 0 -- components: None messages: 106554 nosy: cmoss60 priority: normal severity: normal status: open title: int("0",0) throws e