cpython/Objects
Mark Dickinson cc6a982de8 Issue #8748: Fix two issues with comparisons between complex and integer
objects.  (1) The comparison could incorrectly return True in some cases
(2**53+1 == complex(2**53) == 2**53), breaking transivity of equality.
(2) The comparison raised an OverflowError for large integers, leading
to unpredictable exceptions when combining integers and complex objects
in sets or dicts.

Patch by Meador Inge.
2010-05-21 14:55:26 +00:00
..
stringlib Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
abstract.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
boolobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
bytearrayobject.c Merged revisions 80129 via svnmerge from 2010-04-16 23:00:53 +00:00
bytes_methods.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
bytesobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +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 Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
classobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
codeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
complexobject.c Issue #8748: Fix two issues with comparisons between complex and integer 2010-05-21 14:55:26 +00:00
descrobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
enumobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
exceptions.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
fileobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
floatobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
frameobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
funcobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
genobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
iterobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
listobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +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 81037 via svnmerge from 2010-05-10 21:37:34 +00:00
memoryobject.c Merged revisions 77916 via svnmerge from 2010-02-02 22:47:00 +00:00
methodobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
moduleobject.c Issue #6697: Fix a crash if a module attribute name contains a surrogate 2010-05-19 00:03:09 +00:00
object.c Fix refleak in internal_print() introduced by myself in r81251 2010-05-17 09:33:42 +00:00
obmalloc.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
rangeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
setobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
sliceobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
structseq.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
tupleobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
typeobject.c Ooops, add missing ";" in my previous commit (r81324, typeobject.c) 2010-05-19 01:50:45 +00:00
unicodectype.c Merged revisions 75272-75273 via svnmerge from 2009-10-06 21:03:20 +00:00
unicodeobject.c Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode 2010-05-15 16:27:27 +00:00
unicodetype_db.h Merged revisions 79494,79496 via svnmerge from 2010-03-30 19:34:18 +00:00
weakrefobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00