summaryrefslogtreecommitdiff
path: root/Objects/sliceobject.c
AgeCommit message (Expand)AuthorLines
2013-11-24Make Ellipsis and NotImplemented picklable through the reduce protocol.Alexandre Vassalotti-1/+12
2012-11-17Issue #16451: Refactor to remove duplication between range and slice in slice...Mark Dickinson-70/+78
2012-11-10Issue #14794: slice.indices no longer returns OverflowError for out-of-range ...Mark Dickinson-8/+175
2012-10-07Issue #14783: Merge changes from 3.2.Chris Jerdonek-1/+2
2012-10-07Issue #14783: Improve int() docstring and also str(), range(), and slice().Chris Jerdonek-1/+2
2011-11-18Issue #10227: Add an allocation cache for a single slice object.Antoine Pitrou-7/+29
2011-10-17merge 3.2 (#13199)Benjamin Peterson-1/+5
2011-10-17plug possible refleak (closes #13199)Benjamin Peterson-1/+5
2011-08-10Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin-4/+2
2011-07-29make the types of None and Ellipsis callableBenjamin Peterson-0/+29
2010-12-03Merge branches/pep-0384.Martin v. Löwis-3/+5
2010-10-17use helper hash unimplemented functionBenjamin Peterson-8/+1
2010-08-06In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rath...Mark Dickinson-1/+9
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-243/+243
2009-04-20Merged revisions 71734,71738-71739 via svnmerge fromBenjamin Peterson-1/+1
2009-02-02Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson-2/+2
2008-07-02Merged revisions 64365,64370,64406,64408-64409,64412,64416-64417,64420-64421,...Benjamin Peterson-2/+3
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes-1/+1
2007-12-02Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases i...Christian Heimes-7/+7
2007-10-23#1316: remove redundant PyLong_Check calls when PyInt_Check was already called.Georg Brandl-2/+2
2007-08-31Remove checking redundantly for checks of PyInt and PyLong.Neal Norwitz-1/+1
2007-08-28Fix buglet in sliceobjects, they were not returning Py_NotImplemented whenThomas Wouters-0/+5
2007-07-21Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis-6/+5
2007-05-19Add a format specifier %R to PyUnicode_FromFormat(), which embedsWalter Dörwald-12/+1
2007-05-18Add functions PyUnicode_Append() and PyUnicode_AppendAndDel() that mirrorWalter Dörwald-9/+9
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-0/+10
2006-08-24Restructure comparison dramatically. There is no longer a defaultGuido van Rossum-18/+48
2006-08-21Merge current trunk into p3yk. This includes the PyNumber_Index API change,Thomas Wouters-1/+1
2006-04-21Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters-28/+47
2006-02-15Merge ssize_t branch.Martin v. Löwis-6/+7
2005-08-26Disallow keyword arguments for type constructors that don't use them.Georg Brandl-0/+3
2003-09-05SF bug #800796: Difference between hash() and __hash__()Raymond Hettinger-1/+8
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-1/+1
2002-11-06Handle really big steps in extended slices.Michael W. Hudson-5/+2
2002-11-05Some days, I think my comment ofMichael W. Hudson-6/+12
2002-09-12Fix for platforms where int != long.Michael W. Hudson-1/+1
2002-07-19Silly typo. Not sure how that got in.Michael W. Hudson-1/+1
2002-07-19A few days ago, Guido said (in the thread "[Python-Dev] PythonMichael W. Hudson-1/+34
2002-06-14SF patch 568629 by Oren Tirosh: types made callable.Guido van Rossum-1/+31
2002-06-11Fix for problem reported by Neal Norwitz. Tighten up calculation ofMichael W. Hudson-3/+5
2002-06-11This is my nearly two year old patchMichael W. Hudson-0/+53
2002-04-12Remove PyMalloc_New and PyMalloc_Del.Neil Schemenauer-2/+2
2002-03-22Use pymalloc if it's enabled.Neil Schemenauer-2/+2
2001-10-30Add values to tp_getattro and tp_flags so that dir(Ellipsis) willGuido van Rossum-14/+20
2001-09-20Add optional docstrings to member descriptors. For backwardsGuido van Rossum-1/+1
2001-08-02Merge of descr-branch back into trunk.Tim Peters-35/+35
2001-03-20SF patch #408326 by Robin Thomas: slice objects comparable, notGuido van Rossum-3/+23
2000-12-14Test for NULL returned from PyObject_NEW().Guido van Rossum-0/+3
2000-07-09ANSI-fication of the sources.Fred Drake-19/+7
2000-05-03Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum-3/+2