summaryrefslogtreecommitdiff
path: root/Objects/funcobject.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-582/+582
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-8/+8
2008-05-26Renamed PyString to PyBytesChristian Heimes-8/+8
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-4/+4
2007-11-22Backport of the PCbuild9 directory from the py3k branch.Christian Heimes-3/+3
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-10/+7
2007-05-27Add the new function object attribute names from py3k.Neal Norwitz-3/+10
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