Author python-dev
Recipients brett.cannon, christian.heimes, georg.brandl, jcea, python-dev, vstinner
Date 2012-09-24.05:46:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <3XQDtr28vszMgl@mail.python.org>
In-reply-to
Content
New changeset fe4e6e0d6b0f by Christian Heimes in branch 'default':
Issue #15895: Fix FILE pointer leak in PyRun_SimpleFileExFlags() when filename points to a pyc/pyo file and closeit is false.
http://hg.python.org/cpython/rev/fe4e6e0d6b0f

New changeset 9251fb0440a0 by Christian Heimes in branch 'default':
Issue #15895: my analysis was slightly off. The FILE pointer is only leaked when set_main_loader() fails for a pyc file with closeit=0. In the success case run_pyc_file() does its own cleanup of the fp. I've changed the code to use another FILE ptr for pyc files and moved the fclose() to PyRun_SimpleFileExFlags() to make it more obvious what's happening.
http://hg.python.org/cpython/rev/9251fb0440a0

New changeset 61b1c25d55f2 by Christian Heimes in branch 'default':
Updates NEWS for issue #15895
http://hg.python.org/cpython/rev/61b1c25d55f2
History
Date User Action Args
2012-09-24 05:46:46python-devsetrecipients: + python-dev, brett.cannon, georg.brandl, jcea, vstinner, christian.heimes
2012-09-24 05:46:45python-devlinkissue15895 messages
2012-09-24 05:46:45python-devcreate