[New-bugs-announce] [issue3236] ints contructed from strings don't use the smallint constants
Antoine Pitrou
report at bugs.python.org
Sun Jun 29 13:38:15 CEST 2008
New submission from Antoine Pitrou <pitrou at free.fr>:
The following says it all:
>>> 1+1 is 2
True
>>> int('2') is 2
False
>>> int(b'2') is 2
False
----------
components: Interpreter Core
messages: 68947
nosy: pitrou
severity: normal
status: open
title: ints contructed from strings don't use the smallint constants
type: resource usage
versions: Python 3.0
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3236>
_______________________________________
More information about the New-bugs-announce
mailing list