Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision c8967002353864e012567125d7824abaeeb31dd3 authored by Christian Heimes on 30 November 2007, 10:18:26 UTC, committed by Christian Heimes on 30 November 2007, 10:18:26 UTC
Multiple reinitializations of Python 3.0 failed on a system without a hardcoded default fs encoding. The patch makes sure that the default fs encoding is freed and reset to NULL on e.g. Linux. I've also taken the liberty to increase the debugging in Objects/object.c:_Py_ForgetReference(). The method is used to validate the reference chain. Reinitialization still fails in the 3rd round of my test suite: * ob object : <refcnt 0 at 0x821c840> type : str refcount: 0 address : 0x821c840 * op->_ob_prev->_ob_next object : <refcnt 0 at 0x821c840> type : str refcount: 0 address : 0x821c840 * op->_ob_next->_ob_prev object : bytearray(b'') type : bytearray refcount: 1 address : 0x826b838 Fatal Python error: UNREF invalid object
1 parent a22e8bd
Tip revision: c8967002353864e012567125d7824abaeeb31dd3 authored by Christian Heimes on 30 November 2007, 10:18:26 UTC
Partial fix for bug #1306
Partial fix for bug #1306
Tip revision: c896700
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
PCbuild8 | ||
PCbuild9 | ||
Parser | ||
Python | ||
Tools | ||
.hgtags | -rw-r--r-- | 2.6 KB |
INTBENCH | -rw-r--r-- | 941 bytes |
LICENSE | -rw-r--r-- | 13.5 KB |
Makefile.pre.in | -rw-r--r-- | 35.9 KB |
README | -rw-r--r-- | 4.6 KB |
RELNOTES | -rw-r--r-- | 1.2 KB |
configure | -rwxr-xr-x | 629.5 KB |
configure.in | -rw-r--r-- | 96.0 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 27.2 KB |
runtests.sh | -rwxr-xr-x | 2.1 KB |
setup.py | -rw-r--r-- | 67.6 KB |
Computing file changes ...