STINNER Victor <vstinner at redhat.com> added the comment: If the bug cannot occur, just add "assert(!PyErr_Occurred());" no? ---------- nosy: +vstinner _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue33713> _______________________________________