Stefan Krah added the comment: As Mark hinted at, many people would say there is no issue at all. Subclassing like that often breaks the Liskov Substitution Principle.
For more information, see e.g.: http://okmij.org/ftp/Computation/Subtyping/ "Alas, LSP when considered from an OOP point of view is undecidable. You cannot count on a compiler for help in pointing out an error. You cannot rely on regression tests either. It's manual work -- you have to see the problem" ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com