[issue4998] __slots__ on Fraction is useless

Mark Dickinson report at bugs.python.org
Tue Jan 20 20:43:24 CET 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thanks for the patch, Raymond.

I'm don't really have any experience with ABCs.  I've read the PEP (a few 
times), but am not convinced that I fully understand all the ideas 
involved.

What are the practical differences between having Fraction inherit from 
Rational directly, and registering Fraction as a subclass of Rational?

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


More information about the Python-bugs-list mailing list