• Christian Heimes's avatar
    Partial fix for bug #1306 · c8967002
    Christian Heimes yazdı
    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
    c8967002
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
PCbuild8 Loading commit data...
PCbuild9 Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...