Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
|\ \ | |/ | ||||||
| * | Make indentation consistent and remove dead commented-out code. | Eli Bendersky | 2012-12-31 | 1 | -7/+5 | |
| | | ||||||
* | | Code style fixup: No need for double ((parenthesis)) and use {} on an if else. | Gregory P. Smith | 2012-12-11 | 1 | -4/+5 | |
|\ \ | |/ | ||||||
| * | Code style fixup: No need for double ((parenthesis)) and use {} on an if else. | Gregory P. Smith | 2012-12-11 | 1 | -4/+5 | |
| |\ | ||||||
| | * | Code style fixup: No need for double ((parenthesis)) and use {} on an if else. | Gregory P. Smith | 2012-12-11 | 1 | -4/+5 | |
| | | | ||||||
* | | | Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified | Christian Heimes | 2012-10-17 | 1 | -5/+2 | |
|/ / | | | | | | | endianess detection and handling. | |||||
* | | Issue #16096: Fix several occurrences of potential signed integer overflow. ↵ | Mark Dickinson | 2012-10-06 | 1 | -4/+8 | |
| | | | | | | | | Thanks Serhiy Storchaka. | |||||
* | | Issue #15424: Add a __sizeof__ implementation for array objects. | Meador Inge | 2012-08-11 | 1 | -0/+15 | |
|\ \ | |/ | | | | | Patch by Ludwig Hähne. | |||||
| * | Issue #15424: Add a __sizeof__ implementation for array objects. | Meador Inge | 2012-08-11 | 1 | -0/+15 | |
| | | | | | | | | Patch by Ludwig Hähne. | |||||
* | | Close #13072: Restore code before the PEP 393 for the array module | Victor Stinner | 2012-08-05 | 1 | -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 Pitrou | 2012-04-04 | 1 | -1/+1 | |
| | | | | | | | | the stable ABI. | |||||
* | | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -1/+29 | |
| | | ||||||
* | | Merge 3.2 | Florent Xicluna | 2011-12-09 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix docstring typo. | Florent Xicluna | 2011-12-09 | 1 | -1/+1 | |
| | | ||||||
* | | Remove mention of narrow/wide builds and update array doc, add a test. | Ezio Melotti | 2011-10-25 | 1 | -4/+1 | |
| | | ||||||
* | | Merge 3.2. | Florent Xicluna | 2011-10-24 | 1 | -4/+4 | |
|\ \ | |/ | ||||||
| * | Issue #13255: wrong docstrings in array module. | Florent Xicluna | 2011-10-24 | 1 | -4/+4 | |
| | | ||||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -4/+4 | |
| | | ||||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -3/+5 | |
| | | ||||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -2/+5 | |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | |||||
* | | Fix a compiler warning | Victor Stinner | 2011-09-29 | 1 | -1/+1 | |
| | | ||||||
* | | Fix array.array('u') constructor | Victor Stinner | 2011-09-29 | 1 | -6/+12 | |
| | | ||||||
* | | array module uses the new Unicode API | Victor Stinner | 2011-09-29 | 1 | -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_UNICODE | Victor Stinner | 2011-09-29 | 1 | -19/+16 | |
| | | ||||||
* | | Rename new macros to conform to naming rules (function macros have "Py" ↵ | Georg Brandl | 2011-09-28 | 1 | -1/+1 | |
| | | | | | | | | prefix, not "PY"). | |||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -4/+4 | |
| | | ||||||
* | | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵ | Mark Dickinson | 2011-09-25 | 1 | -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 Inge | 2011-09-21 | 1 | -1/+78 | |
| | | | | | | | | Initial patch by Oren Tirosh and Hirokazu Yamamoto. | |||||
* | | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-11 | 1 | -4/+2 | |
| | | | | | | | | The macro was introduced in #12724. | |||||
* | | Revert a reversed comparison order introduced in r70695. | Brett Cannon | 2011-06-08 | 1 | -1/+1 | |
| | | ||||||
* | | Remove some extraneous parentheses and swap the comparison order to | Brett Cannon | 2011-06-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | prevent accidental assignment. Silences a warning from LLVM/clang 2.9. | |||||
* | | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 1 | -1/+0 | |
|/ | ||||||
* | Issue #5109: array.array constructor will now use fast code when | Alexander Belopolsky | 2011-01-11 | 1 | -5/+15 | |
| | | | | initial data is provided in an array object with correct type. | |||||
* | #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵ | Georg Brandl | 2010-12-04 | 1 | -9/+17 | |
| | | | | the code follows unicode_repeat. | |||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 1 | -2/+2 | |
| | ||||||
* | Fix compilation warnings seen on Windows. | Amaury Forgeot d'Arc | 2010-11-25 | 1 | -7/+7 | |
| | | | | 'typecode' is always an ascii letter, there was no data lost. | |||||
* | Issue #10359: Use Py_UNICODE for the typecode in array | Victor Stinner | 2010-11-09 | 1 | -7/+9 | |
| | | | | And don't create non constant array, invalid in ISO C. | |||||
* | Issue #8990: array.fromstring() and array.tostring() get renamed to | Antoine Pitrou | 2010-09-01 | 1 | -17/+77 | |
| | | | | | | frombytes() and tobytes(), respectively, to avoid confusion. Furthermore, array.frombytes(), array.extend() as well as the array.array() constructor now accept bytearray objects. Patch by Thomas Jollans. |