149 Commits (5e0ea7540f577c9684e272000fdfc80d29bb78a2)

Author SHA1 Message Date
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) 22c526394b bpo:34848 : Correct an incorrect docstring for range().index method (GH-9877) 7 years ago
Serhiy Storchaka bb86bf4c4e
bpo-35444: Unify and optimize the helper for getting a builtin object. (GH-11047) 7 years ago
Zackery Spytz c9a6168924 Fix a possible crash in range.__reversed__(). (GH-10252) 7 years ago
Alexey Izbyshev 7ecae3ca0b closes bpo-34468: Objects/rangeobject.c: Fix an always-false condition in range_repr() (GH-8880) 7 years ago
Siddhesh Poyarekar 55edd0c185 bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 8 years ago
Serhiy Storchaka 6cca5c8459 bpo-30592: Fixed error messages for some builtins. (#1996) 9 years ago
Serhiy Storchaka ba85d69a3e bpo-29878: Add global instances of int for 0 and 1. (#852) 9 years ago
4kir4 e46fb86118 bpo-28876: bool of large range raises OverflowError (#699) 9 years ago
Serhiy Storchaka df53392f0d Issue #28376: Creating instances of range_iterator by calling range_iterator 9 years ago
Serhiy Storchaka c7f490c8b1 Issue #28376: Creating instances of range_iterator by calling range_iterator 9 years ago
Serhiy Storchaka 44759bcf13 Issue #28376: The constructor of range_iterator now checks that step is not 0. 9 years ago
Berker Peksag ed6224ee0c Issue #28045: Fix comment in range_contains_long() 9 years ago
Benjamin Peterson af580dff4a replace PY_LONG_LONG with long long 9 years ago
Serhiy Storchaka 5d062d7ba3 Issue #27333: Simplified testing step on 0. 10 years ago
Serhiy Storchaka cfdfbb4d3c Issue #27342: Replaced some Py_XDECREFs with Py_DECREFs. 10 years ago
Serhiy Storchaka 6a7b3a77b4 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 10 years ago
Serhiy Storchaka 57a01d3a0e Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 10 years ago
Serhiy Storchaka 48842714b9 Issue #22570: Renamed Py_SETREF to Py_XSETREF. 10 years ago
Serhiy Storchaka 4a1e70fc31 Issue #20440: Applied yet one patch for using Py_SETREF. 10 years ago
Serhiy Storchaka 5a57ade58e Issue #20440: Massive replacing unsafe attribute setting code with special 10 years ago
Serhiy Storchaka fa494fd883 Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 11 years ago
Benjamin Peterson ac22c6b923 improved range docstring (closes #22785) 11 years ago
Serhiy Storchaka 009b811d67 Removed unintentional trailing spaces in non-external and non-generated C files. 11 years ago
Benjamin Peterson bcf8554fd4 remove buzzword (closes #23210) 11 years ago
Kristján Valur Jónsson 25dded041f Make the various iterators' "setstate" sliently and consistently clip the 12 years ago
Kristján Valur Jónsson 4ca688edeb Fix pickling of rangeiter. rangeiter_setstate would not allow setting it 12 years ago
Ezio Melotti 5792ce151c #19067: use imperative mood in range object docstrings. Patch by Marco Buttu. 12 years ago
Serhiy Storchaka 9594942716 Issue #18783: Removed existing mentions of Python long type in docstrings, 13 years ago
Mark Dickinson ffdb2c21b3 Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 13 years ago
Mark Dickinson 8cd1c7681d Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method. 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
Mark Dickinson 218a8ab5eb Issues #16029, #16030: Fix pickling and repr of large xranges. 13 years ago
Antoine Pitrou a103b96a80 Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 14 years ago
Antoine Pitrou a701388de1 Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Benjamin Peterson 878ce389a0 add introspection to range objects (closes #9896) 14 years ago
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 14 years ago
Ezio Melotti 982ef4e0bc #11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. Patch by Daniel Urban. 15 years ago
Matthias Klose 616667fbe8 rangeobject.c (compute_slice_indices): Make function static. 15 years ago
Benjamin Peterson 547d4859b9 plug reference leak 15 years ago
Nick Coghlan e993b10041 Issue 10889: Support slicing and indexing of large ranges (no docs changes, since, as far as I know, we never said anywhere that this *didn't* work) 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Nick Coghlan 37ee850b10 Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length). 15 years ago
Benjamin Peterson a1864f3717 pep 7 actually wants the brace on a new line 15 years ago
Benjamin Peterson 155614b104 code style and simplification 15 years ago
Georg Brandl 7e5343b882 Add error handling in range_count. 15 years ago
Benjamin Peterson 0b458d52f9 count() should return integers #10474 15 years ago
Daniel Stutzbach 9f0cbf1c72 Issue #9213: Add index and count methods to range objects, needed to 16 years ago