cpython/Objects
Christian Heimes c896700235 Partial fix for bug #1306
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
2007-11-30 10:18:26 +00:00
..
stringlib Merged revisions 59005-59040 via svnmerge from 2007-11-18 19:35:23 +00:00
abstract.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
boolobject.c
bytes_methods.c
bytesobject.c Rename buffer -> bytearray. 2007-11-21 19:29:53 +00:00
cellobject.c Merged revisions 59107-59186 via svnmerge from 2007-11-26 23:23:18 +00:00
classobject.c Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). 2007-11-27 10:40:20 +00:00
cobject.c
codeobject.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
complexobject.c Merged revisions 59202-59211 via svnmerge from 2007-11-28 10:04:30 +00:00
descrobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
dictnotes.txt
dictobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
enumobject.c
exceptions.c Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
fileobject.c Fix for #1415 pythonw.exe fails because std streams a missing 2007-11-13 02:19:40 +00:00
floatobject.c
frameobject.c
funcobject.c Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). 2007-11-27 10:40:20 +00:00
genobject.c
iterobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
listobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
listsort.txt
longobject.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
memoryobject.c Fixed memoryview constructor. It allowed arbitrary keyword arguments. The bug was found by mykhal from #python. I've also added a small test case in the new test_memoryview.py 2007-11-08 02:28:11 +00:00
methodobject.c Fixed some build issues and updated docs. 2007-11-17 19:08:41 +00:00
moduleobject.c Merging the py3k-pep3137 branch back into the py3k branch. 2007-11-06 21:34:58 +00:00
object.c Partial fix for bug #1306 2007-11-30 10:18:26 +00:00
obmalloc.c
rangeobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
setobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
sliceobject.c
stringobject.c Remove unused variable. 2007-11-25 00:31:12 +00:00
structseq.c
tupleobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
typeobject.c Replace PyObject_Unicode with PyObject_Str everywhere, and remove the 2007-11-15 20:48:54 +00:00
unicodectype.c
unicodeobject.c Added view and iterator types to collections / _abcoll 2007-11-28 09:44:38 +00:00
unicodetype_db.h
weakrefobject.c