Ezio Melotti added the comment:
2.7$ ./python -c 'int("5", 12.5)'
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: integer argument expected, got float
3.2$ ./python -c 'int("5", 12.5)'
3.2$
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com