Irit Katriel <iritkatriel at gmail.com> added the comment: Reproduced on 3.11. ---------- nosy: +iritkatriel versions: +Python 3.11 -Python 2.7, Python 3.5, Python 3.6 _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue25341> _______________________________________