176 Commits (772bf2ed831671dfd3afd507c2e9babd066d1024)

Author SHA1 Message Date
Antoine Pitrou 3a652b1d0a Merged revisions 70546 via svnmerge from 17 years ago
Antoine Pitrou f8387af262 Issue #4688: Add a heuristic so that tuples and dicts containing only 17 years ago
Benjamin Peterson f07d0026da Merged revisions 70342,70385-70387,70389-70390,70392-70393,70395,70400,70405-70406,70418,70438,70464,70468 via svnmerge from 17 years ago
Benjamin Peterson 1706c644ae fix tuple.index() error message #5495 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 18 years ago
Benjamin Peterson a4a37fefb6 Merged revisions 68381 via svnmerge from 18 years ago
Martin v. Löwis b90304acb9 Issue #4850: Change COUNT_ALLOCS variables to Py_ssize_t. 18 years ago
Benjamin Peterson f10a79aad4 merge from trunk 18 years ago
Benjamin Peterson be2c0a9fe3 Merged revisions 66766-66767,66771-66772,66774,66776,66783-66787,66790,66793,66797 via svnmerge from 18 years ago
Andrew M. Kuchling b15d6fb9a7 Docstring change: Specify exception raised 18 years ago
Neal Norwitz 3ce5d9207e Closes release blocker #3627. 18 years ago
Neal Norwitz e7d8be80ba Security patches from Apple: prevent int overflow when allocating memory 18 years ago
Neal Norwitz 4f3be8a0a9 Security patches from Apple: prevent int overflow when allocating memory 18 years ago
Amaury Forgeot d'Arc 35c8658a74 Merged revisions 64119,64147,64150,64165,64219-64221,64229-64230,64233,64235,64253,64278,64280,64301,64303,64320,64328,64338-64339 via svnmerge from 18 years ago
Robert Schuppenies 73e9ffc811 Fixed: sys.getsizeof does not take the actual length of the tuples into account. 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
Alexandre Vassalotti 3fe8216f33 Fixed a bug in the representation of self-referential tuples. 18 years ago
Amaury Forgeot d'Arc 0f1653e957 Correct previous checkin, probably a svn merge issue. 18 years ago
Guido van Rossum aa975432d4 - Issue #1686386: Tuple's tp_repr did not take into account the possibility of 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 19 years ago
Christian Heimes 3b718a79af Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 19 years ago
Raymond Hettinger 55285ef44c Return ints instead of longs for tuple.count() and tuple.index(). 19 years ago
Raymond Hettinger 5b07ebce86 Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in collections.Sequence. 19 years ago
Raymond Hettinger 65baa34115 Issue 2025: Add index() and count() methods to tuple so that it will follow 19 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 19 years ago
Christian Heimes 5b970ad483 Unified naming convention for free lists and their limits. All free lists 19 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 19 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 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 19 years ago
Christian Heimes a22e8bdfd9 Added all PyTypeObjects to the appropriate header files. 19 years ago
Guido van Rossum 8ce8a784bd Merged revisions 58221-58741 via svnmerge from 19 years ago
Brett Cannon 31ba8480d8 Fix error introduced by r58288; if a tuple is length 0 return its repr and 19 years ago
Brett Cannon 0b14f243c4 tuple.__repr__ did not consider a reference loop as it is not possible from 19 years ago
Brett Cannon 0153159e67 Add a bunch of GIL release/acquire points in tp_print implementations and for 19 years ago
Thomas Wouters d2cf20eea2 Remove the simple slicing API. All slicing is now done with slice objects. 19 years ago
Thomas Wouters ed03b4121e Merge the trunk changes in. Breaks socket.ssl for now. 19 years ago
Thomas Wouters 3ccec68a05 Improve extended slicing support in builtin types and classes. Specifically: 19 years ago
Guido van Rossum 04dbf3b5ec Kill all uses and definitions of tp_print under Objects/. (Others will follow.) 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
Walter Dörwald 1ab8330827 Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirror 19 years ago
Thomas Wouters 27d517b21b Merged revisions 53875-53911 via svnmerge from 20 years ago
Neal Norwitz ee3a1b5244 Variation of patch # 1624059 to speed up checking if an object is a subclass 20 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 20 years ago
Georg Brandl 283a1353a0 Patch [ 1586791 ] better error msgs for some TypeErrors 20 years ago
Thomas Wouters 00ee7baf49 Merge current trunk into p3yk. This includes the PyNumber_Index API change, 20 years ago
Neal Norwitz 8a87f5d37e Patch #1538606, Patch to fix __index__() clipping. 20 years ago
Guido van Rossum 3cf5b1eef9 Get rid of most of the flags (in tp_flags) that keep track of various 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago