53 Commits (cae101f5ecd8fee38a37ce8fa46c141cd8a522ef)

Author SHA1 Message Date
Alexandre Vassalotti c49477b184 Make Ellipsis and NotImplemented picklable through the reduce protocol. 12 years ago
Mark Dickinson ffdb2c21b3 Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 13 years ago
Mark Dickinson c8a6967ea8 Issue #14794: slice.indices no longer returns OverflowError for out-of-range start, stop, step or length. 13 years ago
Chris Jerdonek ad4b000179 Issue #14783: Backport changes from 3.2. 13 years ago
Chris Jerdonek 83fe2e1c22 Issue #14783: Improve int() docstring and also str(), range(), and slice(). 13 years ago
Antoine Pitrou f34a0cdc6c Issue #10227: Add an allocation cache for a single slice object. 14 years ago
Benjamin Peterson 2963fe0711 plug possible refleak (closes #13199) 14 years ago
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. 15 years ago
Benjamin Peterson c4607aeedd make the types of None and Ellipsis callable 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Benjamin Peterson 23d05c1d98 use helper hash unimplemented function 15 years ago
Mark Dickinson e6fc7401a9 In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX]. 16 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 fd838e6c84 Merged revisions 71734,71738-71739 via svnmerge from 17 years ago
Benjamin Peterson c485361f61 Merged revisions 71734,71738-71739 via svnmerge from 17 years ago
Benjamin Peterson 01c6e6fb35 many more types to initialize (I had to expose some of them) 17 years ago
Mark Dickinson e94c679df0 Issue #1717: rename tp_compare to tp_reserved. I'll change the 17 years ago
Benjamin Peterson fea6a94b3b Merged revisions 64365,64370,64406,64408-64409,64412,64416-64417,64420-64421,64425-64428 via svnmerge from 18 years ago
Mark Dickinson 1ec2fcd16e Issue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now 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
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 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. 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Georg Brandl e1a0d11c5c #1316: remove redundant PyLong_Check calls when PyInt_Check was already called. 18 years ago
Neal Norwitz 1fe5f38852 Remove checking redundantly for checks of PyInt and PyLong. 19 years ago
Thomas Wouters 3e57b52bb8 Fix buglet in sliceobjects, they were not returning Py_NotImplemented when 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 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
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Raymond Hettinger 13936697f6 SF 1191699: Make slices picklable 19 years ago
Guido van Rossum 47b9ff6ba1 Restructure comparison dramatically. There is no longer a default 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
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Martin v. Löwis 54b42f185e Allow long integers in PySlice_GetIndices. 20 years ago
Neal Norwitz d08eaf4d1b Use Py_ssize_t in slices 20 years ago
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 20 years ago
Neal Norwitz badc086543 Stop duplicating code and handle slice indices consistently and correctly 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Georg Brandl 02c42871cf Disallow keyword arguments for type constructors that don't use them. 21 years ago
Raymond Hettinger b859c070ef SF bug #800796: Difference between hash() and __hash__() 23 years ago
Raymond Hettinger ea3fdf44a2 SF patch #659536: Use PyArg_UnpackTuple where possible. 23 years ago
Michael W. Hudson cbd6fb9006 Handle really big steps in extended slices. 23 years ago
Michael W. Hudson 173f11da5d Some days, I think my comment of 23 years ago