[issue4998] __slots__ on Fraction is useless

Raymond Hettinger 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.

----------
nosy: +rhettinger
priority:  -> critical

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


More information about the Python-bugs-list mailing list