230 Commits (a4348cc1bef6f97d0a44b5f8fc60fbcffbcf7cb9)

Author SHA1 Message Date
Victor Stinner 3f1057a4b6 method_call() and slot_tp_new() now uses fast call 9 years ago
Serhiy Storchaka 009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 11 years ago
Benjamin Peterson 48ad7c0b01 use __qualname__ to compute bound method repr (closes #21389) 12 years ago
Christian Heimes d3afe781b1 Silence expression result unused warnings with clang. 12 years ago
Antoine Pitrou c9dc4a2a8a Issue #17810: Implement PEP 3154, pickle protocol 4. 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Christian Heimes 949f331731 Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL 13 years ago
Andrew Svetlov ddcb6206bf Issue #15404: Refleak in PyMethodObject repr. 14 years ago
David Malcolm 49526f48fc Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 14 years ago
Benjamin Peterson dbc52f8a0d check for string attribute names in old-style classes (closes #14334) 14 years ago
Benjamin Peterson a7b0976c3e PyEval_CallObject requires a tuple of args (closes #13186) 14 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 14 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 14 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 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
Antoine Pitrou a57df2cf1d Issue #8268: Old-style classes (not just instances) now support weak 16 years ago
Benjamin Peterson a833206de3 Merged revisions 74745 via svnmerge from 17 years ago
Benjamin Peterson 8719ad5dde Merged revisions 74277,74321,74323,74326,74355,74465,74467,74488,74492,74513,74531,74549,74553,74625,74632,74643-74644,74647,74652,74666,74671,74727,74739 via svnmerge from 17 years ago
Benjamin Peterson 6fcf9b50bc remove the check that classmethod's argument is a callable 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Benjamin Peterson 712ee92309 generate py3k warnings on __getslice__, __delslice__, and __setslice__ 18 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
Georg Brandl c9b0953bda #2964: fix missing INCREF. 18 years ago
Neal Norwitz b1d3d96374 Issue 2332: add new attribute names for instance method objects 18 years ago
Christian Heimes a156e09b19 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60845 via svnmerge from 18 years ago
Christian Heimes 3b718a79af Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 18 years ago
Christian Heimes 2202f877b1 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60568-60598,60600-60616 via svnmerge from 18 years ago
Christian Heimes 5b970ad483 Unified naming convention for free lists and their limits. All free lists 18 years ago
Christian Heimes 6075a82243 Limit free list of method and builtin function objects to 256 entries each. 18 years ago
Jeffrey Yasskin a26cf9b760 Make int() and long() fall back to __trunc__(). See issue 2002. 18 years ago
Guido van Rossum 9ff1a44973 Fix an edge case whereby the __del__() method of a classic class could 18 years ago
Guido van Rossum d187381b81 Fix an edge case whereby the __del__() method of a classic class could 18 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 18 years ago
Christian Heimes a3534a6ff5 Issue #1587: Added instancemethod wrapper for PyCFunctions. The Python C API 18 years ago
Christian Heimes 9bbac5065e Fixed a bug found by Marcin Kowalczyk 18 years ago
Christian Heimes ff737954f3 Removed the API to create unbound methods and simplified the API for bound methods. The signature is PyMethod_New(func, instance). 18 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Walter Dörwald d7fb7644da Add a format specifier %V to PyUnicode_FromFormat(), that works similar to %U, 19 years ago
Martin v. Löwis 826b9ddbe3 Fix getclassname. Fixes test_descrtut. 19 years ago
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout. 19 years ago
Walter Dörwald 7569dfe11d Add a format specifier %R to PyUnicode_FromFormat(), which embeds 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Kristján Valur Jónsson dffe9a214b the nb_long slot on classobject instances now defaults to call the nb_int slot member if there is no __long__ attribute found. This is in accordance with a suggestion from Armin Rigo, and allows the test_getargs2.py test in the testsuite for x64 19 years ago
Kristján Valur Jónsson abe1d48d20 As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present. 19 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 19 years ago