232 Commits (89644d080b9663ab1a809113b965e4e33a9a7af1)

Author SHA1 Message Date
Eric Smith 5e527ebee1 Added PyNumber_ToBase and supporting routines _PyInt_Format and 19 years ago
Christian Heimes 15ebc88d87 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552-60567 via svnmerge from 19 years ago
Jeffrey Yasskin a26cf9b760 Make int() and long() fall back to __trunc__(). See issue 2002. 19 years ago
Christian Heimes fe82e774ea Merged revisions 60379-60382 via svnmerge from 19 years ago
Christian Heimes d7e1b2bd17 static PyObject* variables should use PyString_InternFromString() instead of PyObject_FromString() to store a python string in a function level static var. 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 255f53bdb5 Merged revisions 59376-59406 via svnmerge from 19 years ago
Raymond Hettinger 4e2f714031 Fix Issue 1045. 19 years ago
Christian Heimes 03acd85dbf merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can make list() raise a SystemError 19 years ago
Christian Heimes fe4826f6ac merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ can make list() raise a SystemError 19 years ago
Alexandre Vassalotti 79a082b715 Fix issue #1553: An errornous __length_hint__ can make list() raise a 19 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 19 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 19 years ago
Travis E. Oliphant ddacf96868 Eliminate use of PyBUF_CHARACTER flag which is no longer part of the buffer interface. Fix up array module to export the correct format for wide-builds. 19 years ago
Travis E. Oliphant fe9bed02e4 Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified. 19 years ago
Travis E. Oliphant 8ae62b6094 Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object. 19 years ago
Thomas Wouters bbaff4c7e8 Properly indent two lines. (Spotted because it caused merge conflicts in the 19 years ago
Sean Reifscheider 54cf12b625 Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE. 19 years ago
Guido van Rossum b55911378f Patch # 1026 by Benjamin Aranguren (with Alex Martelli): 19 years ago
Thomas Wouters 89d996e5c2 Merged revisions 57778-58052 via svnmerge from 19 years ago
Brett Cannon 1e534b5425 Fix a crasher where Python code managed to infinitely recurse in C code without 19 years ago
Neal Norwitz 1fe5f38852 Remove checking redundantly for checks of PyInt and PyLong. 19 years ago
Thomas Wouters d2cf20eea2 Remove the simple slicing API. All slicing is now done with slice objects. 19 years ago
Neal Norwitz 6ea45d3341 Use unicode and remove support for some uses of str8. 19 years ago
Neal Norwitz faa54a3929 Code review of the new buffer protocol. Mostly add questions that should 19 years ago
Travis E. Oliphant b99f762f10 Merged in py3k-buffer branch to main line. All objects now use the buffer protocol in PEP 3118. 19 years ago
Guido van Rossum cd16bf6404 Merged revisions 55817-55961 via svnmerge from 19 years ago
Martin v. Löwis 5b222135f8 Make identifiers str (not str8) objects throughout. 19 years ago
Guido van Rossum e7ba495627 Merged revisions 55631-55794 via svnmerge from 19 years ago
Guido van Rossum 29478ef990 Merged revisions 55588-55630 via svnmerge from 19 years ago
Guido van Rossum adee45ed2c Merged revisions 55545-55587 via svnmerge from 19 years ago
Guido van Rossum 8d30cc0144 Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 19 years ago
Georg Brandl 428f0641ec Remove the deprecated and useless "pend" argument from 20 years ago
Guido van Rossum 032a284752 Don't confound Neil S on b"a"[0] = b"b". 20 years ago
Neal Norwitz 025488b2b0 These comments aren't relevant for 3k. They were to support modules compiled 20 years ago
Thomas Wouters cf297e46b8 Merged revisions 53623-53858 via svnmerge from 20 years ago
Guido van Rossum cc2b016125 - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; 20 years ago
Raymond Hettinger de33c62466 Silence compiler warning 20 years ago
Raymond Hettinger bbe92887ce Silence compiler warning 20 years ago
Raymond Hettinger 4da5bf644a Bug #1575169: operator.isSequenceType() now returns False for subclasses of dict. 20 years ago
Raymond Hettinger 127ef44c7b Bug #1575169: operator.isSequenceType() now returns False for subclasses of dict. 20 years ago
Guido van Rossum ddefaf31b3 Merged the int/long unification branch, by very crude means (sorry Thomas!). 20 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 20 years ago
Armin Rigo 7ccbca93a2 Forward-port of r52136,52138: a review of overflow-detecting code. 20 years ago
Armin Rigo 4b63c21d6f Forward-port of r52136: a review of overflow-detecting code. 20 years ago
Thomas Wouters 00ee7baf49 Merge current trunk into p3yk. This includes the PyNumber_Index API change, 20 years ago
Neal Norwitz 4886cc331f Get rid of most of the rest of coerce (slot is still there for now). 20 years ago
Guido van Rossum 50e9fb9e2d Completely get rid of PyClass and PyInstance. 20 years ago
Neal Norwitz 271a8689e9 Subclasses of int/long are allowed to define an __index__. 20 years ago
Neal Norwitz 8a87f5d37e Patch #1538606, Patch to fix __index__() clipping. 20 years ago