Mark Dickinson added the comment: > I think consistent behavior between int() and Fraction() is valuable.
Agreed. If no-one objects I'll fix the Decimal -> Fraction and float -> Fraction conversions to match what Decimal -> int and float -> int currently do (ValueError and OverflowError). Then we can open a new issue to discuss having infinities give ValueError versus OverflowError for all four cases of {float, Decimal} -> {int, Fraction}. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16469> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com