New submission from Antoine Pitrou <[EMAIL PROTECTED]>:
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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3236>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com