Serhiy Storchaka added the comment:

The second patch converts an instance of float subclass to exact float. 
Disadvantages are that this changes behavior ignoring overriding 
as_integer_ratio() and __abs__() and slightly slows down Python implementation. 
Advantages are that this fixes also issue26975 and slightly speeds up C 
implementation.

----------
stage:  -> patch review
Added file: 
http://bugs.python.org/file42782/decimal_from_float_exact_float.patch

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

Reply via email to