summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.Larry Hastings2015-04-141-4/+8
|
* Fixed the array module broken in issue #23492.Serhiy Storchaka2015-04-041-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 Storchaka2015-04-031-2/+1
|
* Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()Stefan Krah2015-02-031-2/+5
| | | | and array_buffer_getbuf().
* Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-051-2/+2
|\
| * Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-051-2/+2
| |
* | Issue #22615: Argument Clinic now supports the "type" argument for theLarry Hastings2014-10-131-54/+57
| | | | | | | | | | int converter. This permits using the int converter with enums and typedefs.
* | merge 3.4 (closes #22605)Benjamin Peterson2014-10-101-1/+1
|\ \ | |/
| * prevent passing NULL to memcpy (closes #22605)Benjamin Peterson2014-10-101-1/+1
| | | | | | | | Patch by Jakub Wilk.
* | Issue #20152: Port the array module to Argument Clinic.Brett Cannon2014-10-101-273/+361
| |
* | Issue #22156: Fix some "comparison between signed and unsigned integers"Victor Stinner2014-08-161-1/+1
|/ | | | compiler warnings in the Modules/ subdirectory.
* Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+2
|\ | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-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 Vassalotti2013-11-291-18/+27
| |
* | Issue #19437: Fix array.buffer_info(), handle PyLong_FromVoidPtr() andVictor Stinner2013-11-141-3/+15
| | | | | | | | PyLong_FromLong() failure
* | Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou2013-08-131-3/+3
| |
* | Issue #18408: Fix array_tolist(), handle PyList_SetItem() failureVictor Stinner2013-07-181-6/+9
| |
* | Issue #18408: Fix array_index(), handle getarrayitem() failureVictor Stinner2013-07-171-7/+26
| |
* | (Merge 3.3) Issue #17223: array module: Fix a crasher when converting an arrayVictor Stinner2013-02-261-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 containingVictor Stinner2013-02-261-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 Bendersky2012-12-311-7/+5
|\ \ | |/
| * Make indentation consistent and remove dead commented-out code.Eli Bendersky2012-12-311-7/+5
| |
* | Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-101-4/+5
|\ \ | |/
| * Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-101-4/+5
| |\
| | * Code style fixup: No need for double ((parenthesis)) and use {} on an if else.Gregory P. Smith2012-12-101-4/+5
| | |
* | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unifiedChristian Heimes2012-10-171-5/+2
|/ / | | | | | | endianess detection and handling.
* | Issue #16096: Fix several occurrences of potential signed integer overflow. ↵Mark Dickinson2012-10-061-4/+8
| | | | | | | | Thanks Serhiy Storchaka.
* | Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-101-0/+15
|\ \ | |/ | | | | Patch by Ludwig Hähne.
| * Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-101-0/+15
| | | | | | | | Patch by Ludwig Hähne.
* | Close #13072: Restore code before the PEP 393 for the array moduleVictor Stinner2012-08-061-38/+48
| | | | | | | | | | | | | | | | 'u' format of the array module uses again Py_UNICODE type for backward compatibility with Python 3.2. The only change from Python 3.2 is that PyUnicode_AsUnicode() result is now checked for NULL value.
* | Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in ↵Antoine Pitrou2012-04-051-1/+1
| | | | | | | | the stable ABI.
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-1/+29
| |
* | Merge 3.2Florent Xicluna2011-12-091-1/+1
|\ \ | |/
| * Fix docstring typo.Florent Xicluna2011-12-091-1/+1
| |
* | Remove mention of narrow/wide builds and update array doc, add a test.Ezio Melotti2011-10-251-4/+1
| |
* | Merge 3.2.Florent Xicluna2011-10-241-4/+4
|\ \ | |/
| * Issue #13255: wrong docstrings in array module.Florent Xicluna2011-10-241-4/+4
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-4/+4
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-3/+5
| |
* | Add API for static strings, primarily good for identifiers.Martin v. Löwis2011-10-091-2/+5
| | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
* | Fix a compiler warningVictor Stinner2011-09-301-1/+1
| |
* | Fix array.array('u') constructorVictor Stinner2011-09-301-6/+12
| |
* | array module uses the new Unicode APIVictor Stinner2011-09-301-33/+30
| | | | | | | | | | * Use Py_UCS4* buffer instead of Py_UNICODE* * Use "I" or "L" format, instead of "u" format
* | array module stores the typecode in a char, instead of Py_UNICODEVictor Stinner2011-09-301-19/+16
| |
* | Rename new macros to conform to naming rules (function macros have "Py" ↵Georg Brandl2011-09-281-1/+1
| | | | | | | | prefix, not "PY").
* | Implement PEP 393.Martin v. Löwis2011-09-281-4/+4
| |
* | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵Mark Dickinson2011-09-251-1/+1
| | | | | | | | hashes, array and list iterations, and get_integer (stringlib/string_format.h)
* | Issue #1172711: Add 'long long' support to the array module.Meador Inge2011-09-201-1/+78
| | | | | | | | Initial patch by Oren Tirosh and Hirokazu Yamamoto.
* | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.Brian Curtin2011-08-101-4/+2
| | | | | | | | The macro was introduced in #12724.
* | Revert a reversed comparison order introduced in r70695.Brett Cannon2011-06-071-1/+1
| |