cpython/Objects
Gregory P. Smith aa63d0d4af Make file objects as thread safe as the underlying libc FILE* implementation.
close() will now raise an IOError if any operations on the file object
are currently in progress in other threads.

Most code was written by Antoine Pitrou (pitrou).  Additional testing,
documentation and test suite cleanup done by me (gregory.p.smith).

Fixes issue 815646 and 595601 (as well as many other bugs and
references to this problem dating back to the dawn of Python).
2008-04-06 23:11:17 +00:00
..
stringlib Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
abstract.c Remove unnecessary traceback save/restore pair. 2008-03-19 22:47:48 +00:00
boolobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
bufferobject.c Move declarations to block start. 2008-03-25 11:59:51 +00:00
bytes_methods.c Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
bytesobject.c Fix memory leaks 2008-03-27 04:40:07 +00:00
cellobject.c Fix tabs. 2008-03-25 08:31:32 +00:00
classobject.c Issue 2332: add new attribute names for instance method objects 2008-03-18 04:46:00 +00:00
cobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
codeobject.c Make Py3k warnings consistent w.r.t. punctuation; also respect the 2008-03-25 08:29:14 +00:00
complexobject.c Fix compiler warning about finite() missing on Solaris. 2008-03-28 05:34:59 +00:00
descrobject.c Issue #2115: __slot__ attributes setting was 10x slower. 2008-02-15 21:22:45 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Fix tabs. 2008-03-25 08:31:32 +00:00
doubledigits.c Backport of r59456:59458 from py3k to trunk 2007-12-10 22:28:56 +00:00
enumobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
exceptions.c Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
fileobject.c Make file objects as thread safe as the underlying libc FILE* implementation. 2008-04-06 23:11:17 +00:00
floatobject.c Fix compiler warning about finite() missing on Solaris. 2008-03-28 05:34:59 +00:00
frameobject.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
funcobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
genobject.c #1473257: add generator.gi_code attribute that refers to 2008-01-26 14:14:20 +00:00
intobject.c Pluralss only need one s, not 2 (intss -> ints) 2008-03-27 06:52:01 +00:00
iterobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
listobject.c Make Py3k warnings consistent w.r.t. punctuation; also respect the 2008-03-25 08:29:14 +00:00
listsort.txt typo fix 2006-08-01 16:24:30 +00:00
longobject.c Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings. 2008-03-28 04:58:51 +00:00
methodobject.c Make Py3k warnings consistent w.r.t. punctuation; also respect the 2008-03-25 08:29:14 +00:00
moduleobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
object.c Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
obmalloc.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
rangeobject.c Remove unnecessary modulo division. 2008-02-08 22:30:04 +00:00
setobject.c dict.copy() rises from the ashes. Revert r60687. 2008-02-12 19:05:36 +00:00
sliceobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
stringobject.c Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
structseq.c Temporarily revert 59967 until GC can be added. 2008-01-15 05:39:59 +00:00
tupleobject.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
typeobject.c Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from 2008-03-26 12:49:49 +00:00
unicodectype.c Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
unicodeobject.c Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings. 2008-03-28 04:58:51 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00