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
_ctypes.vcproj -rw-r--r-- 13.9 KB
_ctypes_test.vcproj -rw-r--r-- 8.8 KB
_elementtree.vcproj -rw-r--r-- 11.8 KB
_hashlib.vcproj -rw-r--r-- 10.1 KB
_msi.vcproj -rw-r--r-- 9.3 KB
_multiprocessing.vcproj -rw-r--r-- 9.6 KB
_socket.vcproj -rw-r--r-- 9.4 KB
_sqlite3.vcproj -rw-r--r-- 11.4 KB
_ssl.vcproj -rw-r--r-- 10.1 KB
_testcapi.vcproj -rw-r--r-- 8.9 KB
_tkinter.vcproj -rw-r--r-- 9.9 KB
bdist_wininst.vcproj -rw-r--r-- 6.2 KB
build.bat -rw-r--r-- 436 bytes
build_env.bat -rw-r--r-- 25 bytes
build_pgo.bat -rw-r--r-- 1.1 KB
build_ssl.bat -rw-r--r-- 253 bytes
build_ssl.py -rw-r--r-- 9.9 KB
build_tkinter.py -rw-r--r-- 2.1 KB
bz2.vcproj -rw-r--r-- 10.9 KB
debug.vsprops -rw-r--r-- 325 bytes
env.bat -rw-r--r-- 161 bytes
field3.py -rw-r--r-- 974 bytes
idle.bat -rw-r--r-- 290 bytes
kill_python.c -rw-r--r-- 5.5 KB
kill_python.vcproj -rw-r--r-- 4.8 KB
make_buildinfo.c -rw-r--r-- 4.0 KB
make_buildinfo.vcproj -rw-r--r-- 1.9 KB
make_versioninfo.vcproj -rw-r--r-- 7.1 KB
pcbuild.sln -rw-r--r-- 40.7 KB
pginstrument.vsprops -rw-r--r-- 955 bytes
pgupdate.vsprops -rw-r--r-- 393 bytes
pyd.vsprops -rw-r--r-- 679 bytes
pyd_d.vsprops -rw-r--r-- 869 bytes
pyexpat.vcproj -rw-r--r-- 10.6 KB
pyproject.vsprops -rw-r--r-- 2.0 KB
python.vcproj -rw-r--r-- 12.3 KB
pythoncore.vcproj -rw-r--r-- 38.8 KB
pythonw.vcproj -rw-r--r-- 11.9 KB
release.vsprops -rw-r--r-- 326 bytes
rmpyc.py -rw-r--r-- 601 bytes
rt.bat -rw-r--r-- 1.5 KB
select.vcproj -rw-r--r-- 9.5 KB
sqlite3.vcproj -rw-r--r-- 9.5 KB
sqlite3.vsprops -rw-r--r-- 397 bytes
ssl.vcproj -rw-r--r-- 5.1 KB
unicodedata.vcproj -rw-r--r-- 9.1 KB
w9xpopen.vcproj -rw-r--r-- 10.6 KB
winsound.vcproj -rw-r--r-- 9.1 KB
x64.vsprops -rw-r--r-- 559 bytes

back to top