summaryrefslogtreecommitdiff
path: root/Objects
AgeCommit message (Expand)AuthorLines
2006-09-09Remove __unicode__ method so that ``unicode(BaseException)`` succeeds.Brett Cannon-17/+0
2006-09-08Backport rev. 51798 from trunk:Georg Brandl-8/+35
2006-09-06Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.Georg Brandl-2/+8
2006-09-05Backport 51669: Make sure memory is properly cleaned up in file_init (even th...Neal Norwitz-1/+1
2006-09-05Fix str.rpartition(sep) when sep is not found in str.Neal Norwitz-8/+8
2006-09-05Fix SF bug #1546288, crash in dict_equalNeal Norwitz-0/+3
2006-09-05i_divmod(): As discussed on Python-Dev, changed the overflowTim Peters-2/+8
2006-08-21- Patch #1541585: fix buffer overrun when performing repr() onNeal Norwitz-12/+25
2006-08-21Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-devNeal Norwitz-1/+1
2006-08-19Move initialization of interned strings to before allocating theNeal Norwitz-11/+15
2006-08-15Subclasses of int/long are allowed to define an __index__.Neal Norwitz-4/+2
2006-08-14Fix refleak introduced in rev. 51248.Georg Brandl-1/+3
2006-08-14Correct an accidentally removed previous patch.Marc-André Lemburg-5/+2
2006-08-14Slightly revised version of patch #1538956:Marc-André Lemburg-21/+93
2006-08-14Can't return NULL from a void function. If there is a memory error,Neal Norwitz-2/+2
2006-08-13Fix segfault when doing string formatting on subclasses of long ifNeal Norwitz-1/+4
2006-08-13Handle a whole lot of failures from PyString_FromInternedString().Neal Norwitz-25/+101
2006-08-12Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbotsNeal Norwitz-11/+10
2006-08-12Patch #1538606, Patch to fix __index__() clipping.Neal Norwitz-130/+125
2006-08-12Check return of PyMem_MALLOC (garbage) is non-NULL.Neal Norwitz-2/+6
2006-08-12Whoops, how did that get in there. :-) Revert all the parts of 51227 that we...Neal Norwitz-3/+2
2006-08-12Check returned pointer is valid.Neal Norwitz-2/+3
2006-08-12Klocwork made another run and found a bunch more problems.Neal Norwitz-0/+4
2006-08-09Fix and test for an infinite C recursion.Armin Rigo-1/+1
2006-08-09__hash__ may now return long int; the final hashMartin v. Löwis-6/+7
2006-08-08memcmp() can return values other than -1, 0, and +1 but tp_compareThomas Heller-1/+1
2006-08-08Remove "non-mapping" and "non-sequence" from TypeErrors raised byGeorg Brandl-2/+2
2006-08-04Typo fixesAndrew M. Kuchling-2/+2
2006-08-04Change fix for segfaulting property(), add a NEWS entry and a test.Georg Brandl-10/+12
2006-08-04Fix bug caused by first decrefing, then increfing.Georg Brandl-5/+4
2006-08-04SF patch #1534048 (bug #1531003): fix typo in error messageFred Drake-1/+1
2006-08-02_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.Neal Norwitz-2/+2
2006-08-01typo fixAndrew M. Kuchling-1/+1
2006-07-30Whitespace normalizationNeal Norwitz-35/+32
2006-07-30Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz-71/+51
2006-07-29[Bug #1414697] Change docstring of set/frozenset types to specify that the co...Andrew M. Kuchling-2/+2
2006-07-27Closure can't be NULL at this point since we know it's a tuple.Neal Norwitz-1/+1
2006-07-23Move the initialization of size_a down below the check for a being NULL.Neal Norwitz-1/+2
2006-07-21Handle allocation failures gracefully. Found with failmalloc.Neal Norwitz-0/+5
2006-07-21Move the initialization of some pointers earlier. The problem isNeal Norwitz-1/+1
2006-07-21Add some asserts that we got good params passedNeal Norwitz-0/+3
2006-07-17otherset is known to be non-NULL based on checks before and DECREF after.Neal Norwitz-2/+2
2006-07-17Stop INCREFing name, then checking if it's NULL. name (f_name) should neverNeal Norwitz-3/+6
2006-07-16PyFunction_SetDefaults() is documented as taking None or a tuple.Neal Norwitz-2/+2
2006-07-16Handle a NULL name properly.Neal Norwitz-3/+3
2006-07-16Use sizeof(buffer) instead of duplicating the constants to ensure they won'tNeal Norwitz-7/+7
2006-07-16a & b were dereffed above, so they are known to be valid pointers.Neal Norwitz-3/+2
2006-07-12Fix uninitialized memory read reported by Valgrind when running doctest.Neal Norwitz-0/+1
2006-07-03Fix build problems with the platform SDK on windows. It is not sufficient to...Kristján Valur Jónsson-4/+4
2006-07-03Put method-wrappers into trashcan. Fixes #927248.Martin v. Löwis-1/+3