Benjamin Peterson <benjamin at python.org> added the comment: I suspect the dup3_works variable is supposed to be static. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue32441> _______________________________________