Antoine Pitrou <pitrou at free.fr> added the comment: FWIW, applying encode-leak2.patch removes the leak in test_unicode. _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3660> _______________________________________