[issue16045] add more unit tests for built-in int()
Chris Jerdonek
report at bugs.python.org
Sat Sep 29 01:51:58 CEST 2012
Chris Jerdonek added the comment:
Attaching first version of patch. Interestingly, not all of these pass when I tried applying to 2.7. For example,
>>> int(base='foo')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: an integer is required
So at least one modification will be needed there.
----------
keywords: +needs review, patch
stage: test needed -> patch review
versions: +Python 2.7, Python 3.2
Added file: http://bugs.python.org/file27346/issue-16045-1-default.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16045>
_______________________________________
More information about the Python-bugs-list
mailing list