log
graph
tags
bookmarks
branches
changeset
browse
file
diff
comparison
annotate
file log
raw
help
Mercurial
>
cpython-lru_cache-weakref
log Python/pythonrun.c @ 79803:
d2127cdec10e
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
less
more
|
(0)
-300
-100
-30
-10
-1
tip
age
author
description
Tue, 11 Sep 2012 15:47:28 +0200
Christian Heimes
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.
less
more
|
(0)
-300
-100
-30
-10
-1
tip