Raymond Hettinger <[email protected]> added the comment:
Added the requires decorator as requested.
Committed in r79602. Will backport to 2.7 this weekend.
And yes, I agree that Fraction(somedecimal) should work too. It would be weird
to have Fraction("1.1") work but not Fraction(Decimal("1.1")).
Mark, I do think we should have decimal+float-->float in 2.7 also. I don't see
any reason to have the two versions diverge on this issue.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8257>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com