[issue8294] Allow Fraction constructor to accept float and decimal instances directly.

Raymond Hettinger report at bugs.python.org
Fri Apr 2 23:04:19 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

The patch looks like what I expected.

In the docstring, it would be nice if we kept the line with the spec for decimal strings:  [-+]?[0-9]+((/|.)[0-9]+)?

----------
assignee: rhettinger -> mark.dickinson
resolution:  -> accepted

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8294>
_______________________________________


More information about the Python-bugs-list mailing list