[issue16045] add more unit tests for built-in int()
Ezio Melotti
report at bugs.python.org
Tue Sep 25 17:46:20 CEST 2012
Ezio Melotti added the comment:
Before adding tests (and possibly documentation) for edge cases like
> int(base='foo') # no exception; returns 0
I'd take a look at what other implementations do. If they do something different we might still decide to keep the tests and mark them as cpython-specific, but I would refrain to document them.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16045>
_______________________________________
More information about the Python-bugs-list
mailing list