| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-06-23 | bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) | Miss Islington (bot) | -1/+1 | |
| Fix integer overflow in the :meth:`array.array.index` method on 64-bit Windows for index larger than ``2**31``. (cherry picked from commit 1d3dad5f96ed445b958ec53dfa0d46812f2162d9) Co-authored-by: WildCard65 <WildCard65@users.noreply.github.com> | ||||
| 2019-11-15 | bpo-38677: Fix arraymodule error handling in module initialization. (GH-17039) | Miss Islington (bot) | -8/+12 | |
| (cherry picked from commit b44ffc8b409fd539c5fb2b79385498e9fe168880) Co-authored-by: Marco Paolini <mpaolini@users.noreply.github.com> | ||||
| 2019-05-30 | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | -4/+4 | |
| (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
| 2019-05-23 | bpo-36842: Implement PEP 578 (GH-12613) | Steve Dower | -0/+5 | |
| Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs. | ||||
| 2019-05-17 | bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) | Zackery Spytz | -2/+4 | |
| The final addition (cur += step) may overflow, so use size_t for "cur". "cur" is always positive (even for negative steps), so it is safe to use size_t here. Co-Authored-By: Martin Panter <vadmium+py@gmail.com> | ||||
| 2019-03-20 | bpo-36285: Fix integer overflow in the array module. (GH-12317) | sth | -4/+4 | |
| 2019-02-25 | bpo-36048: Use __index__() instead of __int__() for implicit conversion if ↵ | Serhiy Storchaka | -1/+1 | |
| available. (GH-11952) Deprecate using the __int__() method in implicit conversions of Python numbers to C integers. | ||||
| 2018-12-14 | bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. ↵ | Serhiy Storchaka | -2/+2 | |
| (GH-11150) | ||||
| 2018-12-11 | bpo-35444: Unify and optimize the helper for getting a builtin object. ↵ | Serhiy Storchaka | -1/+2 | |
| (GH-11047) This speeds up pickling of some iterators. This fixes also error handling in pickling methods when fail to look up builtin "getattr". | ||||
| 2018-12-08 | bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) | Zackery Spytz | -3/+8 | |
| In _localemodule.c and selectmodule.c, remove dead code that would cause double decrefs if run. In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases where a new list is populated and there is no possibility of an error. In addition, check if the list changed size in the loop in array_array_fromlist(). | ||||
| 2018-02-02 | bpo-32747: Remove trailing spaces in docstrings. (GH-5491) | oldk | -17/+17 | |
| 2018-01-25 | bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code ↵ | Serhiy Storchaka | -4/+3 | |
| (GH-5222) Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId() | ||||
| 2017-11-14 | bpo-32020: arraymodule: Correct missing Py_DECREF in failure case of ↵ | Mat M | -1/+3 | |
| make_array() (#4391) | ||||
| 2017-09-21 | bpo-27541: Reprs of subclasses of some classes now contain actual type name. ↵ | Serhiy Storchaka | -2/+4 | |
| (#3631) Affected classes are bytearray, array, deque, defaultdict, count and repeat. | ||||
| 2017-08-17 | bpo-24700: Add a fast path for comparing array.array of equal type (#3009) | Adrian Wielgosik | -15/+66 | |
| 2017-06-08 | bpo-30592: Fixed error messages for some builtins. (#1996) | Serhiy Storchaka | -1/+1 | |
| Error messages when pass keyword arguments to some builtins that don't support keyword arguments contained double parenthesis: "()()". The regression was introduced by bpo-30534. | ||||
| 2017-05-29 | Change error message for array methods to use 'array' instead of 'list'. (#1853) | Jim Fasarakis-Hilliard | -2/+2 | |
| 2017-04-08 | Expand the PySlice_GetIndicesEx macro. (#1023) | Serhiy Storchaka | -5/+6 | |
| 2017-03-29 | bpo-29932: Fix small error message typos in arraymodule.c (GH-888) | Sylvain | -3/+3 | |
| 2017-03-09 | bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570) | orenmn | -46/+62 | |
| 2017-01-23 | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | -16/+8 | |
| possible. Patch is writen with Coccinelle. | ||||
| 2016-12-09 | Use _PyObject_CallMethodIdObjArgs() | Victor Stinner | -1/+1 | |
| Issue #28915: Replace _PyObject_CallMethodId() with _PyObject_CallMethodIdObjArgs() in various modules when the format string was only made of "O" formats, PyObject* arguments. _PyObject_CallMethodIdObjArgs() avoids the creation of a temporary tuple and doesn't have to parse a format string. | ||||
| 2016-11-20 | Issue #19569: Compiler warnings are now emitted if use most of deprecated | Serhiy Storchaka | -2/+2 | |
| functions. | ||||
| 2016-09-13 | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | -2/+2 | |
| optimize memcpy(). | ||||
| 2016-09-07 | Issue #27570: Merge null pointer fixes from 3.5 | Martin Panter | -8/+16 | |
| 2016-09-07 | Issue #27570: Avoid zero-length memcpy() calls with null source pointers | Martin Panter | -8/+16 | |
| 2016-09-06 | replace PY_LONG_LONG with long long | Benjamin Peterson | -13/+13 | |
| 2016-09-05 | require a long long data type (closes #27961) | Benjamin Peterson | -11/+0 | |
| 2016-07-25 | Issue #7063: Remove dead code from array slice handling | Martin Panter | -47/+8 | |
| Patch by Chuck. | ||||
| 2016-07-07 | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | -2/+2 | |
| generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| 2016-07-07 | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | -2/+2 | |
| generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| 2016-06-23 | Fixed integer overflow in array.buffer_info(). | Serhiy Storchaka | -1/+1 | |
| 2016-06-23 | Fixed integer overflow in array.buffer_info(). | Serhiy Storchaka | -1/+1 | |
| 2016-05-08 | Merge typo fixes from 3.5 | Martin Panter | -1/+1 | |
| 2016-05-08 | Corrections for a/an in code comments and documentation | Martin Panter | -1/+1 | |
| 2016-03-30 | Issue #26492: Exhausted iterator of array.array now conforms with the behavior | Serhiy Storchaka | -4/+18 | |
| of iterators of other mutable sequences: it lefts exhausted even if iterated array is extended. | ||||
| 2015-12-25 | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | -9/+9 | |
| 2015-12-19 | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | -1/+1 | |
| This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
| 2015-05-23 | PEP 489: Multi-phase extension module initialization | Nick Coghlan | -21/+29 | |
| Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles. | ||||
| 2015-05-07 | Issue #24000: Improved Argument Clinic's mapping of converters to legacy | Larry Hastings | -2/+2 | |
| "format units". Updated the documentation to match. | ||||
| 2015-05-04 | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | -4/+4 | |
| instead of types={'type'} to specify the types the converter accepts. | ||||
| 2015-04-15 | Issue #23935: Argument Clinic's understanding of format units | Larry Hastings | -4/+4 | |
| accepting bytes, bytearrays, and buffers is now consistent with both the documentation and the implementation. | ||||
| 2015-04-14 | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | -4/+8 | |
| 2015-04-04 | Fixed the array module broken in issue #23492. | Serhiy Storchaka | -15/+4 | |
| array_array_frombytes() is used in other functions, but it's signature was changed. Closes issue #23866. | ||||
| 2015-04-03 | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | -2/+1 | |
| 2015-02-03 | Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer() | Stefan Krah | -2/+5 | |
| and array_buffer_getbuf(). | ||||
| 2014-12-05 | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | -2/+2 | |
| 2014-12-05 | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | -2/+2 | |
| 2014-10-13 | Issue #22615: Argument Clinic now supports the "type" argument for the | Larry Hastings | -54/+57 | |
| int converter. This permits using the int converter with enums and typedefs. | ||||
| 2014-10-10 | merge 3.4 (closes #22605) | Benjamin Peterson | -1/+1 | |
