summaryrefslogtreecommitdiff
path: root/Objects/object.c
AgeCommit message (Expand)AuthorLines
2003-02-19Backport of rev 2.199 from trunk.Guido van Rossum-2/+4
2003-01-13Backport:Neal Norwitz-3/+16
2002-12-16try_3way_compare() was returning -1 in one case where it should returnGuido van Rossum-1/+1
2002-11-20Backport Neil Schemenauer's fix for SF #529750,Neal Norwitz-2/+0
2002-10-11Backport 2.193:Guido van Rossum-10/+4
2002-07-08SF bug 578752: COUNT_ALLOCS vs heap typesTim Peters-0/+9
2002-06-13SF # 533070 Silence AIX C Compiler WarningsNeal Norwitz-1/+1
2002-05-13Backport from 2.3:Guido van Rossum-7/+15
2002-03-05Backport the bits of Guido's fix forMichael W. Hudson-2/+8
2002-03-05backport tim_one's checkin ofMichael W. Hudson-5/+2
2001-12-04PyObject_Generic{Get,Set}Attr(): ensure that the attribute name is aGuido van Rossum-20/+72
2001-11-04Rehabilitated the fast-path richcmp code, and sped it up. It wasn'tTim Peters-31/+35
2001-11-04No code change -- just trying to document the return conditions for allTim Peters-17/+43
2001-10-22cleanup indentationJeremy Hylton-1/+1
2001-10-19SF patch #470578: Fixes to synchronize unicode() and str()Guido van Rossum-16/+27
2001-10-16SF bug [#468061] __str__ ignored in str subclass.Tim Peters-6/+0
2001-10-07Guido suggests, and I agree, to insist that SIZEOF_VOID_P be a power of 2.Tim Peters-5/+3
2001-10-06_PyObject_VAR_SIZE: always round up to a multiple-of-pointer-size value.Tim Peters-18/+11
2001-10-06_PyObject_GetDictPtr():Tim Peters-8/+12
2001-10-05PyObject_ClearWeakRefs() is now a real function instead of a function pointer;Fred Drake-15/+0
2001-09-27Merge branch changes (coercion, rich comparisons) into trunk.Guido van Rossum-0/+8
2001-09-20_PyObject_GetDictPtr(): when the offset is negative, always align --Guido van Rossum-11/+6
2001-09-18Hopefully fix 3-way comparisons. This unfortunately adds yet anotherGuido van Rossum-1/+15
2001-09-17PyObject_Dir(): Merge in __members__ and __methods__ too (if they exist,Tim Peters-0/+45
2001-09-16merge_class_dict(): Clear the error if __bases__ doesn't exist.Tim Peters-1/+3
2001-09-14_PyObject_Dump(): print the type of the object. This is by far theGuido van Rossum-2/+8
2001-09-11More on SF bug [#460020] bug or feature: unicode() and subclasses.Tim Peters-1/+7
2001-09-10PyObject_Dir():Guido van Rossum-2/+6
2001-09-04At Guido's suggestion, here's a new C API function, PyObject_Dir(), likeTim Peters-0/+145
2001-08-31Add warning mode for classic division, almost exactly as specified inGuido van Rossum-0/+2
2001-08-30PyObject_Repr(): add missing ">" back at end of format string: "<%sGuido van Rossum-1/+1
2001-08-29Remove GC related code. It lives in gcmodule now.Neil Schemenauer-26/+1
2001-08-24repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw-6/+4
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-1/+15
2001-08-16Add a function _Py_ReadyTypes() which initializes various and sundryGuido van Rossum-4/+21
2001-08-16Update to MvL's patch #424475 to avoid returning 2 when tp_compareGuido van Rossum-2/+5
2001-08-07- Rename PyType_InitDict() to PyType_Ready().Guido van Rossum-2/+2
2001-08-02Merge of descr-branch back into trunk.Tim Peters-83/+210
2001-07-30Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.Jeremy Hylton-5/+0
2001-07-14_Py_GetObjects(): GCC suggests to add () around && within || for someGuido van Rossum-1/+1
2001-06-09Patch #424475: Speed-up tp_compare usage, by special-casing the commonMartin v. Löwis-20/+49
2001-05-11Cosmetic: code under "else" clause was missing indent.Tim Peters-1/+1
2001-05-07SF bug #422108 - Error in rich comparisons.Tim Peters-1/+7
2001-05-05Make 'x in y' and 'x not in y' (PySequence_Contains) play nice w/ iterators.Tim Peters-0/+1
2001-05-03The weakref support in PyObject_InitVar() as well; this should have come outFred Drake-4/+0
2001-05-03Remove unnecessary intialization for the case of weakly-referencable objects;Fred Drake-4/+0
2001-05-01Printing objects to a real file still wasn't done right: if theGuido van Rossum-32/+14
2001-04-27(Adding this to the trunk as well.)Guido van Rossum-1/+4
2001-03-25Fixed ref count bug. Patch #411191. Found by Walter Dörwald.Marc-André Lemburg-1/+3
2001-02-27Add Vladimir Marangozov's object allocator. It is disabled by default. ThisNeil Schemenauer-0/+4