This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author python-dev
Recipients brett.cannon, christian.heimes, georg.brandl, jcea, python-dev
Date 2012-09-11.13:47:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <3XGS9k27JMzQK4@mail.python.org>
In-reply-to
Content
New changeset c3539eb02470 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/c3539eb02470
History
Date User Action Args
2012-09-11 13:47:39python-devsetrecipients: + python-dev, brett.cannon, georg.brandl, jcea, christian.heimes
2012-09-11 13:47:38python-devlinkissue15895 messages
2012-09-11 13:47:38python-devcreate