Benjamin Peterson <benja...@python.org> added the comment: The problem is that Fraction inherits from a class without __slots__ (Rationale), so it's useless. I suggest that the __slots__ be removed or Rationale.register() is used instead of inheritance.
---------- assignee: -> jyasskin nosy: +benjamin.peterson, jyasskin title: fractions are mutable -> __slots__ on Fraction is useless _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com