Staging
v0.5.1
https://github.com/python/cpython
Revision 04ac4c1cb8e7af5571adbe64cb82938a323e5850 authored by Christian Heimes on 11 September 2012, 13:47:28 UTC, committed by Christian Heimes on 11 September 2012, 13:47:28 UTC
1 parent eeb5635
History
Tip revision: 04ac4c1cb8e7af5571adbe64cb82938a323e5850 authored by Christian Heimes on 11 September 2012, 13:47:28 UTC
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.
Tip revision: 04ac4c1
File Mode Size
VC6
VS7.1
VS8.0
VS9.0
bdist_wininst
example_nt
icons
os2emx
os2vacpp
WinMain.c -rw-r--r-- 449 bytes
_msi.c -rw-r--r-- 31.4 KB
config.c -rw-r--r-- 4.8 KB
dl_nt.c -rw-r--r-- 4.3 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 2.1 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.9 KB
generrmap.c -rw-r--r-- 849 bytes
getpathp.c -rw-r--r-- 24.5 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
launcher.c -rw-r--r-- 42.4 KB
launcher.ico -rw-r--r-- 19.3 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rwxr-xr-x 13.9 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 20.4 KB
pylauncher.rc -rw-r--r-- 1.3 KB
python.mk -rw-r--r-- 234 bytes
python3.def -rw-r--r-- 35.1 KB
python3.mak -rw-r--r-- 431 bytes
python33gen.py -rw-r--r-- 663 bytes
python33stub.def -rw-r--r-- 13.6 KB
python3dll.c -rw-r--r-- 134 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 4.2 KB
testpy.py -rw-r--r-- 836 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winreg.c -rw-r--r-- 59.2 KB
winsound.c -rw-r--r-- 5.5 KB

readme.txt

back to top