summaryrefslogtreecommitdiff
path: root/Objects/funcobject.c
AgeCommit message (Expand)AuthorLines
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-07-27Closure can't be NULL at this point since we know it's a tuple.Neal Norwitz-1/+1
2006-07-16PyFunction_SetDefaults() is documented as taking None or a tuple.Neal Norwitz-2/+2
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-47/+12
2006-04-15Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, forThomas Wouters-3/+1
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-1/+1
2006-02-21Make staticmethod and classmethod complain about keyword args.Georg Brandl-0/+4
2006-02-16Revert 42400.Martin v. Löwis-2/+2
2006-02-16Support %zd in PyErr_Format and PyString_FromFormat.Martin v. Löwis-3/+3
2006-02-16Get rid of compiler warnings (gcc 3.3.4 on x86)Neal Norwitz-2/+2
2006-02-15Merge ssize_t branch.Martin v. Löwis-8/+8
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-10-20Merge ast-branch to headJeremy Hylton-2/+4
2005-02-17FixMichael W. Hudson-2/+0
2004-10-28Wrote down the invariants of some common objects whose structure isArmin Rigo-0/+12
2004-08-12This is my patchMichael W. Hudson-4/+32
2004-07-08Remove unused macros in .c filesNeal Norwitz-2/+0
2004-03-23Intern __name__.Martin v. Löwis-1/+9
2003-06-18SF bug #753451: classmethod abuse --> SystemErrorRaymond Hettinger-0/+6
2003-05-06SF bug #692959: new.function ignores keyword argumentsRaymond Hettinger-1/+4
2003-04-08Make staticmethods and classmethods participate in GC.Jeremy Hylton-8/+45
2003-02-18Make __module__ writable except in restricted mode (like for classic classes).Guido van Rossum-1/+1
2003-02-18Make __module__ settable on functions and methods.Jeremy Hylton-1/+1
2003-01-31Provide __module__ attributes for functions defined in C and Python.Jeremy Hylton-0/+28
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-2/+2
2002-07-11Extend function() to support an optional closure argument.Jeremy Hylton-12/+65
2002-06-14SF patch 568629 by Oren Tirosh: types made callable.Guido van Rossum-1/+50
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-4/+4
2002-04-12PyObject_Del can now be used as a function designator.Neil Schemenauer-2/+2
2002-04-03Fix the names of the classmethod and staticmethod constructors as passed toFred Drake-2/+2
2002-03-18Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfaultGuido van Rossum-0/+2
2001-12-17Portability fix: Not every compiler implements the extension ofSjoerd Mullender-1/+1
2001-12-17SF patch #493452: docstrings for staticmethod/classmethod (SkipGuido van Rossum-2/+41
2001-12-03function_call(): Remove a bogus (and I mean *really* bogus) call toGuido van Rossum-1/+0
2001-10-26Be smarter about clearing the weakref lists for instances, instance methods,Fred Drake-1/+2
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-2/+4
2001-09-20Add optional docstrings to getset descriptors. Fortunately, there'sGuido van Rossum-1/+1
2001-09-20Add optional docstrings to member descriptors. For backwardsGuido van Rossum-1/+1
2001-09-17Rewrite function attributes to use the generic routines properly.Guido van Rossum-72/+118
2001-08-29Use new GC API.Neil Schemenauer-7/+6
2001-08-24repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw-7/+4
2001-08-14func_getattro(), func_setattro(): Implement the new semantics forBarry Warsaw-8/+22
2001-08-02Merge of descr-branch back into trunk.Tim Peters-62/+318
2001-05-03Since Py_TPFLAGS_HAVE_WEAKREFS is set in Py_TPFLAGS_DEFAULT, it does notFred Drake-20/+20
2001-03-23Add support for weak references to the function and method types.Fred Drake-2/+7
2001-03-01Visit the closure during traversal and XDECREF it on during deallocation.Jeremy Hylton-0/+6
2001-02-28Fix SF buf 404774 submitted by Gregory H. BallJeremy Hylton-1/+1
2001-01-29The one thing I love more then writing code is deleting code.Moshe Zadka-33/+2
2001-01-25PEP 227 implementationJeremy Hylton-0/+33