Serhiy Storchaka added the comment: Good catch! The patch LGTM, thanks Yury.
Interesting, what tests in test_ast leak? I expected that this branch is executed in rare circumstances. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27942> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com