Lukas Lueg added the comment:
self.io is set to null before the colorization is finished. When IDLE's
text-window is closed, the AttributeErrors printed to stderr cause IDLE to
crash due to #13582.
One can also trigger the exceptions on any other OS as described in OP. While
#13582 is an issue of it's own, this is still a race condition to be considered
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list