Carlos Damazio <carlos.dama...@damazio.dev> added the comment:

By explicitly sending a type and object to the super function, it should work 
as usual, like in the file that I've just sent. I've seen this behavior before, 
it's related to Python's module reload function, which returns a new reference 
to the reloaded module. This issue is not widely known though, should be 
documented.

----------
nosy: +carlosdamazio
Added file: https://bugs.python.org/file50519/superbug-fixd.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46175>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to