Paul Moore <p.f.moore at gmail.com> added the comment: It works as expected (the print statement in the "finally" clause is executed) for me. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue44746> _______________________________________