[issue672115] Assignment to __bases__ of direct object subclasses

Memeplex report at bugs.python.org
Mon Jul 11 21:59:34 EDT 2016


Memeplex added the comment:

I understand Michael's comment http://bugs.python.org/issue672115#msg14169 but I'm failing to see how it's directly related to this issue: as Michael himself said it's even relevant for the object-subclass-object hack or for any hierarchy whatsoever. Is the comment warning about the entire writable-bases idea? It feels to me like the behavior should be consistently extended or consistently banned, but currently some cases work, another cases don't, and there seems to be no clear rationale supporting this state of affairs. Am I wrong?

----------
nosy: +memeplex

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


More information about the Python-bugs-list mailing list