summaryrefslogtreecommitdiff
path: root/Objects/object.c
AgeCommit message (Expand)AuthorLines
2001-05-23Backport Tim's checkin 2.130:Thomas Wouters-1/+7
2001-05-23Net result of Guido's checkins of object.c (2.125 and 2.126), classobject.cThomas Wouters-29/+14
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-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
2001-02-26The return value from PyObject_ClearWeakRefs() is no longer meaningful,Fred Drake-3/+3
2001-02-22_PyObject_Dump(): If argument is NULL, print "NULL" instead ofBarry Warsaw-3/+7
2001-02-22In try_3way_to_rich_compare(), swap the call to default_3way_compare()Guido van Rossum-2/+2
2001-02-01PEP 205, Weak References -- initial checkin.Fred Drake-0/+23
2001-01-24Check the Py_TPFLAGS_HAVE_RICHCOMPARE flag before using theGuido van Rossum-7/+9
2001-01-24PyObject_Dump() -> _PyObject_Dump()Barry Warsaw-3/+3
2001-01-23PyObject_Dump(): Use %p format to print the address of the pointer.Barry Warsaw-2/+4
2001-01-23A few miscellaneous helpers.Barry Warsaw-2/+26
2001-01-22New special case in comparisons: None is smaller than any other objectGuido van Rossum-0/+6
2001-01-22Once again, numeric-smelling objects compare smaller than non-numericGuido van Rossum-2/+17
2001-01-21Remove a smelly export.Neil Schemenauer-1/+1
2001-01-20Tim chastens:Barry Warsaw-1/+5
2001-01-20default_3way_compare(): When comparing the pointers, they must be castBarry Warsaw-2/+2
2001-01-18Rich comparisons fallout: PyObject_Hash() should check for bothGuido van Rossum-1/+1
2001-01-18Changes to recursive-object comparisons, having to do with a test caseGuido van Rossum-107/+137
2001-01-17Deal properly (?) with comparing recursive datastructures.Guido van Rossum-62/+69
2001-01-17This patch adds a new builtin unistr() which behaves like str()Marc-André Lemburg-0/+47
2001-01-17Rich comparisons. Refactored internal routine do_cmp() and added APIsGuido van Rossum-74/+293
2001-01-04Changes for PEP 208. PyObject_Compare has been rewritten. Instances noNeil Schemenauer-118/+139
2000-10-24Ka-Ping Yee <ping@lfw.org>:Fred Drake-2/+2
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-3/+0
2000-09-21As suggested by Toby Dickenson, setting ob_type to NULL inGuido van Rossum-4/+0
2000-09-18PyObject_SetAttr() and PyObject_GetAttr() now also accept UnicodeMarc-André Lemburg-11/+37
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-30PyOS_CheckStack() returns 1 when failing, not -1.Guido van Rossum-1/+1
2000-08-22Added PyOS_CheckStack call to PyObject_CompareJack Jansen-0/+13
2000-08-18make_pair(): When comparing the pointers, they must be cast to integerBarry Warsaw-2/+6
2000-08-16Updated commentAndrew M. Kuchling-1/+1
2000-08-15Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470.Tim Peters-15/+55
2000-08-11Fix missing decrements of the recursive counter in PyObject_Compare().Vladimir Marangozov-6/+12
2000-08-04Removing warnings found by gcc -WallMoshe Zadka-0/+4
2000-07-31merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp-2/+0
2000-07-25Use 'void' directly instead of the ANY #define, now that all code is ANSI C.Thomas Wouters-8/+8
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-1/+1
2000-07-12Propagate the current exception in get_inprogress_dict() -- it doesn'tVladimir Marangozov-1/+0
2000-07-12change abstract size functions PySequence_Size &c.Jeremy Hylton-1/+1
2000-07-11Include macglue.h on the macintosh, so function prototypes are in scope.Jack Jansen-0/+4
2000-07-09ANSI-fication of the sources.Fred Drake-105/+46
2000-07-09Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters-1/+1
2000-07-08- changed __repr__ to use "unicode escape" encoding for unicodeFredrik Lundh-1/+1
2000-07-08delete unused local variable from _PyTrash_deposit_objectSkip Montanaro-1/+0
2000-07-03If auto-conversion fails, the Unicode codecs will return NULL.Marc-André Lemburg-11/+13
2000-07-01changed repr and str to always convert unicode stringsFredrik Lundh-0/+16
2000-07-01Neil Schemenauer: small fixes for GCGuido van Rossum-7/+4