Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It can happen if the code is executed very late at the shutdown stage. The 
builtin module is restored to its initial state (open is imported from io) to 
get rid of reference cycles.

----------
nosy: +serhiy.storchaka, vinay.sajip

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

Reply via email to