Mark Shannon <mark at hotpy.org> added the comment: I think this is fixed (for 3.11 at least) by https://github.com/python/cpython/pull/31888 ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue46724> _______________________________________