Mark Dickinson <dicki...@gmail.com> added the comment:

I also meant to add that I left the int() call in, for slightly obscure 
reasons:  round doesn't currently return an int for all numeric types---it does 
for ints, floats and Decimal instances, but not for Fraction instances 
(arguably a defect of the fractions module, but that's another issue).  The 
'int' doesn't seem like a huge extra cost, and it's conceivable that people 
might use Fraction for framerates, so it seemed safer to leave it in.

----------
status: pending -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1512791>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to