STINNER Victor added the comment: With https://github.com/python/cpython/pull/2003 test_winconsoleio doesn't leak anymore. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue30601> _______________________________________