Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Simpler reproducer: import os os.close(0) ---------- components: +Interpreter Core nosy: +serhiy.storchaka title: Segfaults on io.FileIO(0).name in 3.9 -> Segfaults when close file descriptor 0 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40826> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com