130 Commits (fd0fa67464f75cebca67cd14d050476a0c73bd53)

Author SHA1 Message Date
Walter Dörwald a29d1d7ff5 Simplify error formatting (no default encoding required). 19 years ago
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout. 19 years ago
Neal Norwitz 0ac601995c Add the new function object attribute names from py3k. 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Guido van Rossum bbbd4fdba2 Make test_new pass. 19 years ago
Guido van Rossum a8add0ec5e Merged revisions 55270-55324 via svnmerge from 19 years ago
Georg Brandl 80b331cb30 Fix refleaks in function objects caused by kwdefaults not being allocated. 20 years ago
Neal Norwitz 221085de89 Change all the function attributes from func_* -> __*__. This gets rid 20 years ago
Neal Norwitz c150536b5e PEP 3107 - Function Annotations thanks to Tony Lownds 20 years ago
Guido van Rossum 4f72a78684 Jiwon Seo's PEP 3102 implementation. 20 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
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 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 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 20 years ago
Thomas Wouters edf17d8798 Use Py_CLEAR instead of in-place DECREF/XDECREF or custom macros, for 20 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 23 years ago
Jeremy Hylton 400d8ee6fa Make staticmethods and classmethods participate in GC. 23 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. 24 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