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 Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
bytes_methods.c For PEP3137: Adds missing methods to the mutable PyBytes object (soon 2007-10-16 06:31:30 +00:00
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 Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
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 Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Added all PyTypeObjects to the appropriate header files. 2007-11-29 22:35:39 +00:00
enumobject.c Merged revisions 58221-58741 via svnmerge from 2007-11-01 19:42:39 +00:00
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 Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
frameobject.c Get rid of more uses of string and use unicode 2007-10-27 04:00:45 +00:00
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 Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
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 Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
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 Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
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 #1316: remove redundant PyLong_Check calls when PyInt_Check was already called. 2007-10-23 19:24:22 +00:00
stringobject.c Remove unused variable. 2007-11-25 00:31:12 +00:00
structseq.c Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
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 Add XID_Start and XID_Continue properties to unicodectype. 2007-08-14 22:37:03 +00:00
unicodeobject.c Added view and iterator types to collections / _abcoll 2007-11-28 09:44:38 +00:00
unicodetype_db.h Add XID_Start and XID_Continue properties to unicodectype. 2007-08-14 22:37:03 +00:00
weakrefobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00