cpython/Objects
Jeffrey Yasskin 39370830a9 Make (most of) Python's tests pass under Thread Sanitizer.
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data
race detector that runs on top of valgrind. With this patch, the binaries at
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many
but not all of the Python tests. All of regrtest still passes outside of tsan.

I've implemented part of the C1x atomic types so that we can explicitly mark
variables that are used across threads, and get defined behavior as compilers
advance.

I've added tsan's client header and implementation to the codebase in
dynamic_annotations.{h,c} (docs at
http://code.google.com/p/data-race-test/wiki/DynamicAnnotations).
Unfortunately, I haven't been able to get helgrind and drd to give sensible
error messages, even when I use their client annotations, so I'm not supporting
them.
2010-05-03 19:29:34 +00:00
..
stringlib Merged revisions 78349 via svnmerge from 2010-02-23 00:22:24 +00:00
abstract.c * Fix the refcount leak in _PySequence_BytesToCharpArray from r78946. 2010-03-15 06:07:42 +00:00
boolobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
bytearrayobject.c Merged revisions 80129 via svnmerge from 2010-04-16 23:00:53 +00:00
bytes_methods.c Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when 2009-10-14 17:14:16 +00:00
bytesobject.c Merged revisions 80126 via svnmerge from 2010-04-16 22:51:37 +00:00
capsule.c Use size_t instead of int for a PyMem_MALLOC argument; silences a gcc 'comparison always false' warning. 2009-10-03 20:13:37 +00:00
cellobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
classobject.c Merged revisions 74277,74321,74323,74326,74355,74465,74467,74488,74492,74513,74531,74549,74553,74625,74632,74643-74644,74647,74652,74666,74671,74727,74739 via svnmerge from 2009-09-11 22:24:02 +00:00
codeobject.c Merged revisions 79060 via svnmerge from 2010-03-18 22:46:40 +00:00
complexobject.c Issue #7845: Make 1j.__le__(2j) return NotImplemented rather than raising TypeError. 2010-03-13 09:48:39 +00:00
descrobject.c Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from 2009-11-13 02:25:08 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Make (most of) Python's tests pass under Thread Sanitizer. 2010-05-03 19:29:34 +00:00
enumobject.c Merged revisions 75055 via svnmerge from 2009-09-25 16:12:33 +00:00
exceptions.c Don't decode/recode the unicode filename in SyntaxError_str() 2010-04-28 17:26:19 +00:00
fileobject.c PyFile_FromFd() uses PyUnicode_DecodeFSDefault() instead of 2010-04-30 16:48:45 +00:00
floatobject.c Merged revisions 78319 via svnmerge from 2010-02-22 16:34:50 +00:00
frameobject.c Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
funcobject.c Issue #6697: use %U format instead of _PyUnicode_AsString(), because 2010-03-12 17:00:41 +00:00
genobject.c Merged revisions 70712,70714,70764-70765,70769-70771,70773,70776-70777,70788-70789,70824,70828,70832,70836,70842,70851,70855,70857,70866-70872,70883,70885,70893-70894,70896-70897,70903,70905-70907,70915,70927,70933,70951,70960,70962-70964,70998,71001,71006,71008,71010-71011,71019,71037,71056,71094,71101-71103,71106,71119,71123,71149-71150,71203,71212,71214-71217,71221,71240 via svnmerge from 2009-04-05 19:13:16 +00:00
iterobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
listobject.c Merged revisions 78515-78516,78522 via svnmerge from 2010-03-01 04:08:34 +00:00
listsort.txt #6814: remove traces of xrange(). 2009-09-01 07:34:27 +00:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c Merged revisions 79885 via svnmerge from 2010-04-07 08:49:55 +00:00
memoryobject.c Merged revisions 77916 via svnmerge from 2010-02-02 22:47:00 +00:00
methodobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
moduleobject.c Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via svnmerge from 2009-11-13 02:25:08 +00:00
object.c Merged revisions 79809 via svnmerge from 2010-04-06 10:29:17 +00:00
obmalloc.c Merged revisions 76644 via svnmerge from 2009-12-03 03:01:27 +00:00
rangeobject.c fix one visible and several possible refleaks in rangeobject.c 2009-11-16 00:34:25 +00:00
setobject.c Issue 8436: set.__init__ accepts keyword args 2010-04-18 23:05:22 +00:00
sliceobject.c Merged revisions 71734,71738-71739 via svnmerge from 2009-04-20 02:09:13 +00:00
structseq.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
tupleobject.c Merged revisions 78515-78516,78522 via svnmerge from 2010-03-01 04:08:34 +00:00
typeobject.c Issue #6697: use %U format instead of _PyUnicode_AsString(), because 2010-03-12 17:00:41 +00:00
unicodectype.c Merged revisions 75272-75273 via svnmerge from 2009-10-06 21:03:20 +00:00
unicodeobject.c PyUnicode_DecodeFSDefaultAndSize() uses surrogateescape error handler 2010-04-30 16:37:52 +00:00
unicodetype_db.h Merged revisions 79494,79496 via svnmerge from 2010-03-30 19:34:18 +00:00
weakrefobject.c fix __bytes__ handling here in py3x 2009-11-19 03:08:32 +00:00