[issue32768] object.__new__ does not accept arguments if __bases__ is changed
Nick Coghlan
report at bugs.python.org
Mon Feb 5 17:46:12 EST 2018
Nick Coghlan <ncoghlan at gmail.com> added the comment:
I'd also ask whether the use case can be satisfied by rebinding __class__ instead of __bases__. That's far better defined than replacing the contents of the bases list and attempting to dynamically recalculate the MRO.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32768>
_______________________________________
More information about the Python-bugs-list
mailing list