Christian Heimes added the comment: You are right. I did some testing and the function indeed leaks memory. The attached patch fixes the issue for me.
---------- keywords: +patch nosy: +christian.heimes stage: -> patch review type: -> resource usage Added file: http://bugs.python.org/file27228/npn_memfix.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com