80 Commits (04a29554c1fe0a06cdc657229bb4332eb017e3e9)

Author SHA1 Message Date
Antoine Pitrou 0811f98e10 Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats(). 13 years ago
Andrew Svetlov 4de2924dab Fix compilation error for #15422 13 years ago
Andrew Svetlov 3ba3a3ee56 Issue #15422: get rid of PyCFunction_New macro 13 years ago
David Malcolm 49526f48fc Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues 14 years ago
Antoine Pitrou 5b62942074 Issue #13577: Built-in methods and functions now have a __qualname__. 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
Benjamin Peterson f921469383 Merged revisions 73774 via svnmerge from 17 years ago
Benjamin Peterson 1bf4765369 only order comparisons are removed in py3k #6119 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Amaury Forgeot d'Arc 1f900f1f69 #3247: get rid of Py_FindMethod 18 years ago
Amaury Forgeot d'Arc 55b69e794c Oops, forgot that there are modules outside the win32 world. 18 years ago
Amaury Forgeot d'Arc ba4105c133 #3247: Get rid of Py_FindMethod: 18 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 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
Benjamin Peterson f19a7b90bd A little reformating of Py3k warnings 18 years ago
Benjamin Peterson 9f4f48114f Use PyErr_WarnPy3k throughout 18 years ago
Georg Brandl d5b635f196 Make Py3k warnings consistent w.r.t. punctuation; also respect the 18 years ago
Georg Brandl 07e5681fd3 #2346/#2347: add py3k warning for __methods__ and __members__. Patch by Jack Diederich. 18 years ago
Steven Bethard 6a644f92ef Add py3k warnings for code and method inequality comparisons. This should resolve issue 2373. The codeobject.c and methodobject.c changes are both just backports of the Python 3 code. 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
Christian Heimes e8954f8ce7 Backport of the PCbuild9 directory from the py3k branch. 18 years ago
Christian Heimes bce52be491 Fixed some build issues and updated docs. 18 years ago
Georg Brandl f2fc934a77 Get rid of METH_OLDARGS. 19 years ago
Guido van Rossum 928115af72 CFunctions' doc strings should be Unicode. 19 years ago
Neal Norwitz 8dfc4a9bac Remove support for __members__ and __methods__. There still might be 19 years ago
Martin v. Löwis 9f2e346911 Merged revisions 56467-56482 via svnmerge from 19 years ago
Martin v. Löwis 6819210b9e PEP 3123: Provide forward compatibility with Python 3.0, while keeping 19 years ago
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout. 19 years ago
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Guido van Rossum a8add0ec5e Merged revisions 55270-55324 via svnmerge from 19 years ago
Guido van Rossum 47b9ff6ba1 Restructure comparison dramatically. There is no longer a default 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
Martin v. Löwis eb079f1c25 Use Py_ssize_t for counts and sizes. 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 20 years ago
Raymond Hettinger 8f5cdaa784 * Added a new method flag, METH_COEXIST. 22 years ago
Guido van Rossum 6b29c0147b Make __module__ writable except in restricted mode (like for classic classes). 23 years ago
Jeremy Hylton ff71c98449 Make __module__ settable on functions and methods. 23 years ago
Jeremy Hylton 4f0dcc9a9a Provide __module__ attributes for functions defined in C and Python. 23 years ago