Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-27541: Reprs of subclasses of some classes now contain actual type name. ↵ | Serhiy Storchaka | 2017-09-21 | 1 | -2/+4 |
| | | | | | (#3631) Affected classes are bytearray, array, deque, defaultdict, count and repeat. | ||||
* | bpo-24700: Add a fast path for comparing array.array of equal type (#3009) | Adrian Wielgosik | 2017-08-17 | 1 | -15/+66 |
| | |||||
* | bpo-30592: Fixed error messages for some builtins. (#1996) | Serhiy Storchaka | 2017-06-08 | 1 | -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. | ||||
* | Change error message for array methods to use 'array' instead of 'list'. (#1853) | Jim Fasarakis-Hilliard | 2017-05-29 | 1 | -2/+2 |
| | |||||
* | Expand the PySlice_GetIndicesEx macro. (#1023) | Serhiy Storchaka | 2017-04-08 | 1 | -5/+6 |
| | |||||
* | bpo-29932: Fix small error message typos in arraymodule.c (GH-888) | Sylvain | 2017-03-29 | 1 | -3/+3 |
| | |||||
* | bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570) | orenmn | 2017-03-09 | 1 | -46/+62 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -16/+8 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Use _PyObject_CallMethodIdObjArgs() | Victor Stinner | 2016-12-09 | 1 | -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. | ||||
* | Issue #19569: Compiler warnings are now emitted if use most of deprecated | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | functions. | ||||
* | Issue #28126: Replace Py_MEMCPY with memcpy(). Visual Studio can properly ↵ | Christian Heimes | 2016-09-13 | 1 | -2/+2 |
| | | | | optimize memcpy(). | ||||
* | Issue #27570: Merge null pointer fixes from 3.5 | Martin Panter | 2016-09-07 | 1 | -8/+16 |
|\ | |||||
| * | Issue #27570: Avoid zero-length memcpy() calls with null source pointers | Martin Panter | 2016-09-07 | 1 | -8/+16 |
| | | |||||
* | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -13/+13 |
| | | |||||
* | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -11/+0 |
| | | |||||
* | | Issue #7063: Remove dead code from array slice handling | Martin Panter | 2016-07-25 | 1 | -47/+8 |
| | | | | | | | | Patch by Chuck. | ||||
* | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -2/+2 |
|\ \ | |/ | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -2/+2 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Fixed integer overflow in array.buffer_info(). | Serhiy Storchaka | 2016-06-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed integer overflow in array.buffer_info(). | Serhiy Storchaka | 2016-06-23 | 1 | -1/+1 |
| | | |||||
* | | Merge typo fixes from 3.5 | Martin Panter | 2016-05-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Corrections for a/an in code comments and documentation | Martin Panter | 2016-05-08 | 1 | -1/+1 |
| | | |||||
* | | Issue #26492: Exhausted iterator of array.array now conforms with the behavior | Serhiy Storchaka | 2016-03-30 | 1 | -4/+18 |
| | | | | | | | | | | of iterators of other mutable sequences: it lefts exhausted even if iterated array is extended. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -9/+9 |
|/ | |||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 1 | -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. | ||||
* | Issue #24000: Improved Argument Clinic's mapping of converters to legacy | Larry Hastings | 2015-05-08 | 1 | -2/+2 |
| | | | | "format units". Updated the documentation to match. | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -4/+4 |
| | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | Issue #23935: Argument Clinic's understanding of format units | Larry Hastings | 2015-04-16 | 1 | -4/+4 |
| | | | | | accepting bytes, bytearrays, and buffers is now consistent with both the documentation and the implementation. | ||||
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -4/+8 |
| | |||||
* | Fixed the array module broken in issue #23492. | Serhiy Storchaka | 2015-04-04 | 1 | -15/+4 |
| | | | | | array_array_frombytes() is used in other functions, but it's signature was changed. Closes issue #23866. | ||||
* | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -2/+1 |
| | |||||
* | Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer() | Stefan Krah | 2015-02-03 | 1 | -2/+5 |
| | | | | and array_buffer_getbuf(). | ||||
* | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -2/+2 |
|\ | |||||
| * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -2/+2 |
| | | |||||
* | | Issue #22615: Argument Clinic now supports the "type" argument for the | Larry Hastings | 2014-10-13 | 1 | -54/+57 |
| | | | | | | | | | | int converter. This permits using the int converter with enums and typedefs. | ||||
* | | merge 3.4 (closes #22605) | Benjamin Peterson | 2014-10-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | prevent passing NULL to memcpy (closes #22605) | Benjamin Peterson | 2014-10-11 | 1 | -1/+1 |
| | | | | | | | | Patch by Jakub Wilk. | ||||
* | | Issue #20152: Port the array module to Argument Clinic. | Brett Cannon | 2014-10-10 | 1 | -273/+361 |
| | | |||||
* | | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
|/ | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -0/+2 |
|\ | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | ||||
| * | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -0/+2 |
| | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | ||||
* | | Issue #3693: Fix array obscure error message when given a str. | Alexandre Vassalotti | 2013-11-30 | 1 | -18/+27 |
| | | |||||
* | | Issue #19437: Fix array.buffer_info(), handle PyLong_FromVoidPtr() and | Victor Stinner | 2013-11-14 | 1 | -3/+15 |
| | | | | | | | | PyLong_FromLong() failure | ||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -3/+3 |
| | | |||||
* | | Issue #18408: Fix array_tolist(), handle PyList_SetItem() failure | Victor Stinner | 2013-07-17 | 1 | -6/+9 |
| | | |||||
* | | Issue #18408: Fix array_index(), handle getarrayitem() failure | Victor Stinner | 2013-07-17 | 1 | -7/+26 |
| | | |||||
* | | (Merge 3.3) Issue #17223: array module: Fix a crasher when converting an array | Victor Stinner | 2013-02-25 | 1 | -0/+2 |
|\ \ | |/ | | | | | | | containing invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob. | ||||
| * | Issue #17223: array module: Fix a crasher when converting an array containing | Victor Stinner | 2013-02-25 | 1 | -0/+2 |
| | | | | | | | | | | invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob. | ||||
* | | Make indentation consistent and remove dead commented-out code. | Eli Bendersky | 2012-12-31 | 1 | -7/+5 |
|\ \ | |/ |