STINNER Victor added the comment: The patch fixes the ResourceWarning, thanks. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19830> _______________________________________