[issue16469] Exceptions raised by Fraction() different from those raised by int()
Alexey Kachayev
report at bugs.python.org
Thu Nov 15 17:42:11 CET 2012
Alexey Kachayev added the comment:
Patch is attached for {float, Decimal} -> {int, Fraction} consistency (with ValueError and OverflowError). Test cases are changed as well.
I can also change OverflowError to ValueError for all cases, but I'm not sure should I open for this separated issue or continue to work with this one.
----------
keywords: +patch
nosy: +kachayev
Added file: http://bugs.python.org/file27990/issue16469.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16469>
_______________________________________
More information about the Python-bugs-list
mailing list