Staging
v0.5.1
https://github.com/python/cpython
Revision 82e8f3843490e7af0ac88e08491d597d64cd18a1 authored by Tim Peters on 11 March 2006, 04:55:45 UTC, committed by Tim Peters on 11 March 2006, 04:55:45 UTC
_hotshot hotshot_profiler():  If write_header() returned
an error code, this let `self` leak.  This is a disaster
on Windows, since `self` already points to a newly-opened
file object, and it was impossible for Python code to
close the thing since the only reference to it was in a
blob of leaked C memory.

test_hotshot test_bad_sys_path():  This new test provoked
the C bug above.  This test passed, but left an open
"@test" file behind, which caused a massive cascade of
bogus test failures in later, unrelated tests on Windows.
Changed the test code to remove the @test file it leaves
behind, which relies on the change above to close that
file first.
1 parent fea70fe
History
Tip revision: 82e8f3843490e7af0ac88e08491d597d64cd18a1 authored by Tim Peters on 11 March 2006, 04:55:45 UTC
Merge rev 42904 from the trunk.
Tip revision: 82e8f38
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.8 KB
LICENSE -rw-r--r-- 13.1 KB
Makefile.pre.in -rw-r--r-- 31.7 KB
README -rw-r--r-- 49.6 KB
aclocal.m4 -rw-r--r-- 2.1 KB
configure -rwxr-xr-x 582.9 KB
configure.in -rw-r--r-- 87.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 23.8 KB
setup.py -rw-r--r-- 52.9 KB

README

back to top