Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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. | |||||
* | Issue #9526: Remove outdated casts to int that were preventing the array ↵ | Mark Dickinson | 2010-08-06 | 1 | -2/+2 | |
| | | | | module from working correctly with arrays > 2GB. | |||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -1923/+1923 | |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | |||||
* | Merged revisions 78189 via svnmerge from | Mark Dickinson | 2010-02-14 | 1 | -2/+2 | |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78189 | mark.dickinson | 2010-02-14 13:40:30 +0000 (Sun, 14 Feb 2010) | 1 line Silence more 'comparison between signed and unsigned' warnings. ........ | |||||
* | Merged revisions 77821 via svnmerge from | Mark Dickinson | 2010-01-29 | 1 | -2/+3 | |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines Issue #7788: Fix a crash produced by deleting a list slice with huge step value. Patch by Marcin Bachry. ........ | |||||
* | Silence gcc warning about possibly uninitialized variable 'converted_items' | Mark Dickinson | 2009-10-26 | 1 | -0/+2 | |
| | ||||||
* | Use the proper autoconf macro for checking byte order. | Alexandre Vassalotti | 2009-07-17 | 1 | -1/+1 | |
| | | | | | | | The BYTEORDER_IS_BIG_ENDIAN macro is defined Objects/unicodeobject.c, thus the code was always emitting the little-endian machine format codes. This should fix the failure seen on the SPARC buildbot. | |||||
* | Fix omission in a comment. | Alexandre Vassalotti | 2009-07-15 | 1 | -1/+1 | |
| | ||||||
* | Issue #2389: Implement a portable mechanism for pickling array objects. | Alexandre Vassalotti | 2009-07-15 | 1 | -49/+515 | |
| | | | | Reviewed by: Martin v. Löwis | |||||
* | #6430: remove mention of "w" array typecode. | Georg Brandl | 2009-07-11 | 1 | -1/+0 | |
| | ||||||
* | Add the fix for issue 4509 to the mapping methods. | Alexandre Vassalotti | 2009-07-05 | 1 | -0/+10 | |
| | ||||||
* | Fix array.extend and array.__iadd__ to handle the case where an array | Alexandre Vassalotti | 2009-07-05 | 1 | -3/+5 | |
| | | | | | | is extended with itself. This bug is specific the py3k version of arraymodule.c | |||||
* | Issue 4509: Do not modify an array if we know the change would result | Alexandre Vassalotti | 2009-07-05 | 1 | -0/+8 | |
| | | | | in a failure due to exported buffers. | |||||
* | Py_BuildValue's 'c' code should use byte strings #5666 | Benjamin Peterson | 2009-04-03 | 1 | -2/+2 | |
| | ||||||
* | Issue #5334: array.fromfile() failed to insert values when EOFError was raised. | Hirokazu Yamamoto | 2009-03-06 | 1 | -6/+11 | |
| | | | | Reviewed by Benjamin Peterson. | |||||
* | Merged revisions 69846 via svnmerge from | Mark Dickinson | 2009-02-21 | 1 | -6/+6 | |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........ | |||||
* | Issue #1717: rename tp_compare to tp_reserved. I'll change the | Mark Dickinson | 2009-02-02 | 1 | -2/+2 | |
| | | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong. | |||||
* | Issue #4583: crash after resizing an array.array which has buffer exports. | Antoine Pitrou | 2008-12-18 | 1 | -96/+46 | |
| | ||||||
* | Merged revisions 65654 via svnmerge from | Martin v. Löwis | 2008-08-13 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. ........ | |||||
* | Merged revisions 65182 via svnmerge from | Georg Brandl | 2008-07-23 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65182 | gregory.p.smith | 2008-07-22 06:46:32 +0200 (Tue, 22 Jul 2008) | 7 lines Issue #2620: Overflow checking when allocating or reallocating memory was not always being done properly in some python types and extension modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have all been updated to perform better checks and places in the code that would previously leak memory on the error path when such an allocation failed have been fixed. ........ | |||||
* | Merged revisions 64114 via svnmerge from | Amaury Forgeot d'Arc | 2008-06-18 | 1 | -2/+33 | |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r64114 | gregory.p.smith | 2008-06-11 09:41:16 +0200 (mer., 11 juin 2008) | 6 lines Merge in release25-maint r60793: Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. ........ |