Mark Dickinson <dicki...@gmail.com> added the comment:

I'd call this a bug, albeit a minor one.  The documentation for 'int' says: 

"If the argument is outside the integer range a long object will be returned 
instead."

... which certainly suggests (without actually formally implying) that an int 
object should be returned if the argument is within the integer range.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11144>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to