Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
It can happen when some objects with __del__ are kept alive at the interpreter shutdown stage and outlive the builtins module. I have not seen such errors for a long time. Could you reproduce it on newer Python versions? Could you reproduce it with simpler script? ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41830> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com