[issue4998] __slots__ on Fraction is useless
report at bugs.python.org
Tue Jan 20 00:46:29 CET 2009
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
Arghh! Decimal is NOT supposed to inherit or register with numbers.
Guido has pronounced on this and we've discussed it multiple times. See
the comments in numbers.py which were supposed to serve as a reminder.
Decimals are not interoperable with floats. All instances of Real are
supposed to interoperate but Decimal('1.1') does not add to float(1.1).
Please rip this out of Py3.0's Decimal module.
priority: -> critical
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list