[New-bugs-announce] [issue8825] int("0",0) throws exception

C Moss report at bugs.python.org
Wed May 26 19:44:21 CEST 2010


New submission from C Moss <cm.byu.fan at gmail.com>:

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 exception
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8825>
_______________________________________


More information about the New-bugs-announce mailing list