97 Commits (926f58df57dc201608b9e7d0e45a34a28fe49535)

Author SHA1 Message Date
Benjamin Peterson 32c49d9533 use Py_CLEAR 15 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Benjamin Peterson 6fcf9b50bc remove the check that classmethod's argument is a callable 17 years ago
Amaury Forgeot d'Arc 595f7a5bf9 #2016 Fix a crash in function call when the **kwargs dictionary is mutated 17 years ago
Raymond Hettinger 578a228ee2 Issue 5982: Classmethod and staticmethod expose wrapped function with __func__. 17 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Christian Heimes e93237dfcc #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 19 years ago
Christian Heimes e8954f8ce7 Backport of the PCbuild9 directory from the py3k branch. 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Neal Norwitz 0ac601995c Add the new function object attribute names from py3k. 19 years ago
Neal Norwitz 421c1319ad Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed 20 years ago
Neal Norwitz 6b4953fd3d Check returned pointer is valid. 20 years ago
Neal Norwitz 101bac205d Closure can't be NULL at this point since we know it's a tuple. 20 years ago
Neal Norwitz ee4cc698ca PyFunction_SetDefaults() is documented as taking None or a tuple. 20 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 21 years ago
Thomas Wouters edf17d8798 Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for 21 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 21 years ago
Georg Brandl d02db4084e Make staticmethod and classmethod complain about keyword args. 21 years ago
Martin v. Löwis e0e89f7920 Revert 42400. 21 years ago
Martin v. Löwis 2c95cc6d72 Support %zd in PyErr_Format and PyString_FromFormat. 21 years ago
Neal Norwitz 26efe402c2 Get rid of compiler warnings (gcc 3.3.4 on x86) 21 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 21 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Jeremy Hylton 3e0055f8c6 Merge ast-branch to head 21 years ago
Michael W. Hudson ee319f66ab Fix 22 years ago
Armin Rigo 89a39461bf Wrote down the invariants of some common objects whose structure is 22 years ago
Michael W. Hudson 5e897959db This is my patch 22 years ago
Neal Norwitz 93468eac72 Remove unused macros in .c files 22 years ago
Martin v. Löwis 321c9ab74c Intern __name__. 23 years ago
Raymond Hettinger be9715398b SF bug #753451: classmethod abuse --> SystemError 23 years ago
Raymond Hettinger 8657845e02 SF bug #692959: new.function ignores keyword arguments 24 years ago
Jeremy Hylton 400d8ee6fa Make staticmethods and classmethods participate in GC. 24 years ago
Guido van Rossum 6b29c0147b Make __module__ writable except in restricted mode (like for classic classes). 24 years ago
Jeremy Hylton ff71c98449 Make __module__ settable on functions and methods. 24 years ago
Jeremy Hylton 4f0dcc9a9a Provide __module__ attributes for functions defined in C and Python. 24 years ago
Raymond Hettinger ea3fdf44a2 SF patch #659536: Use PyArg_UnpackTuple where possible. 24 years ago
Jeremy Hylton df3f793516 Extend function() to support an optional closure argument. 24 years ago
Guido van Rossum bea18ccde6 SF patch 568629 by Oren Tirosh: types made callable. 24 years ago
Martin v. Löwis 14f8b4cfcb Patch #568124: Add doc string macros. 24 years ago
Neil Schemenauer aa769ae468 PyObject_Del can now be used as a function designator. 25 years ago
Fred Drake cd874edaaa Fix the names of the classmethod and staticmethod constructors as passed to 25 years ago
Guido van Rossum 7e30548285 Fix for SF bug 528132 (Armin Rigo): classmethod().__get__() segfault 25 years ago
Sjoerd Mullender 564980bd86 Portability fix: Not every compiler implements the extension of 25 years ago
Guido van Rossum 33c1a8893d SF patch #493452: docstrings for staticmethod/classmethod (Skip 25 years ago
Guido van Rossum be5234610a function_call(): Remove a bogus (and I mean *really* bogus) call to 25 years ago
Fred Drake c916f5a390 Be smarter about clearing the weakref lists for instances, instance methods, 25 years ago
Guido van Rossum 9475a2310d Enable GC for new-style instances. This touches lots of files, since 25 years ago
Guido van Rossum 32d34c809f Add optional docstrings to getset descriptors. Fortunately, there's 25 years ago