[issue28866] Unexpected behavior resulting from mro() and __setattr__ in interactive mode

STINNER Victor report at bugs.python.org
Mon Dec 5 11:28:04 EST 2016


STINNER Victor added the comment:

If you call sys._clear_type_cache() after the setattr(), weird_without_interactive.py doesn't crash anymore.

----------

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


More information about the Python-bugs-list mailing list