Antoine Pitrou <pitrou at free.fr> added the comment: Amaury, your patch is much clearer indeed and it fixes the leak. ---------- keywords: -needs review _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3660> _______________________________________