Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Rerun AC, silence pointer conversion warnings. | Martin v. Löwis | 2014-07-27 | 1 | -2/+2 | |
| | | ||||||
* | | Issue #20179: Apply Argument Clinic to bytes and bytearray. | Martin v. Löwis | 2014-07-27 | 1 | -323/+1149 | |
| | | | | | | | | Patch by Tal Einat. | |||||
* | | Issue #21233: Revert bytearray(int) optimization using calloc() | Victor Stinner | 2014-06-02 | 1 | -14/+2 | |
| | | ||||||
* | | Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), | Victor Stinner | 2014-05-02 | 1 | -2/+14 | |
|/ | | | | | | PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now using ``calloc()`` instead of ``malloc()`` for large objects which is faster and use less memory (until the bytearray buffer is filled with data). | |||||
* | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -3/+7 | |
|\ | | | | | | | | | 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 | -3/+7 | |
| | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | |||||
* | | Close #19568: Fix bytearray_setslice_linear(), fix handling of | Victor Stinner | 2013-11-21 | 1 | -37/+63 | |
| | | | | | | | | | | | | | | | | | | | | PyByteArray_Resize() failure: leave the bytearray object in an consistent state. If growth < 0, handling the memory allocation failure is tricky here because the bytearray object has already been modified. If lo != 0, the operation is completed, but a MemoryError is still raised and the memory block is not shrinked. If lo == 0, the bytearray is restored in its previous state and a MemoryError is raised. | |||||
* | | #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). | Ezio Melotti | 2013-11-16 | 1 | -1/+1 | |
| | | ||||||
* | | Hopefully fix Windows compilation error following 499a96611baa | Antoine Pitrou | 2013-10-05 | 1 | -10/+10 | |
| | | ||||||
* | | Issue #19087: Improve bytearray allocation in order to allow cheap popping ↵ | Antoine Pitrou | 2013-10-05 | 1 | -145/+163 | |
| | | | | | | | | of data at the front (slice deletion). | |||||
* | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -6/+6 | |
| | | ||||||
* | | Propagate error when PyByteArray_Resize() fails in bytearray_translate() | Christian Heimes | 2013-07-21 | 1 | -1/+4 | |
|\ \ | |/ | | | | | CID 715334 | |||||
| * | Propagate error when PyByteArray_Resize() fails in bytearray_translate() | Christian Heimes | 2013-07-21 | 1 | -1/+4 | |
| | | | | | | | | CID 715334 | |||||
* | | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 | |
| |\ | ||||||
| | * | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | #8401: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+6 | |
| |\ \ | | |/ | ||||||
* | | | #8401: merge with 3.3. | Ezio Melotti | 2012-11-03 | 1 | -0/+6 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+6 | |
| | | | | | | | | | | | | error. | |||||
* | | | Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects. | Antoine Pitrou | 2012-10-16 | 1 | -67/+5 | |
| | | | ||||||
* | | | Issue #16148: implemented PEP 424 | Armin Ronacher | 2012-10-06 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. | Stefan Krah | 2012-07-28 | 1 | -1/+1 | |
| | | ||||||
* | | Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in ↵ | Antoine Pitrou | 2012-04-05 | 1 | -2/+2 | |
| | | | | | | | | the stable ABI. | |||||
* | | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -2/+34 | |
| | | ||||||
* | | Issue #13019: Fix potential reference leaks in bytearray.extend(). | Antoine Pitrou | 2012-04-01 | 1 | -2/+6 | |
|\ \ | |/ | | | | | Patch by Suman Saha. | |||||
| * | Issue #13019: Fix potential reference leaks in bytearray.extend(). | Antoine Pitrou | 2012-04-01 | 1 | -2/+6 | |
| | | | | | | | | Patch by Suman Saha. | |||||
* | | #14081: The sep and maxsplit parameter to str.split, bytes.split, and ↵ | Ezio Melotti | 2012-02-26 | 1 | -8/+12 | |
| | | | | | | | | bytearray.split may now be passed as keyword arguments. | |||||
* | | Issue #11231: Fix bytes and bytearray docstrings | Victor Stinner | 2011-12-17 | 1 | -7/+5 | |
|\ \ | |/ | | | | | Patch written by Brice Berna. | |||||
| * | Issue #11231: Fix bytes and bytearray docstrings | Victor Stinner | 2011-12-17 | 1 | -7/+5 | |
| | | | | | | | | Patch written by Brice Berna. | |||||
* | | Issue #13503: Use a more efficient reduction format for bytearrays with | Antoine Pitrou | 2011-12-05 | 1 | -10/+42 | |
| | | | | | | | | | | | | | | pickle protocol >= 3. The old reduction format is kept with older protocols in order to allow unpickling under Python 2. Patch by Irmen de Jong. | |||||
* | | Use the small object allocator for small bytearrays | Antoine Pitrou | 2011-11-12 | 1 | -5/+5 | |
| | | ||||||
* | | Issue #12170: The count(), find(), rfind(), index() and rindex() methods | Antoine Pitrou | 2011-10-20 | 1 | -13/+46 | |
| | | | | | | | | | | of bytes and bytearray objects now accept an integer between 0 and 255 as their first argument. Patch by Petri Lehtinen. | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 | Victor Stinner | 2011-10-14 | 1 | -3/+2 | |
| | | ||||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -1/+3 | |
| | | ||||||
* | | Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODE | Victor Stinner | 2011-09-29 | 1 | -2/+2 | |
| | | ||||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -71/+74 | |
| | | ||||||
* | | Issue #13012: Allow 'keepends' to be passed as a keyword argument in ↵ | Mark Dickinson | 2011-09-24 | 1 | -4/+6 | |
| | | | | | | | | str.splitlines, bytes.splitlines and bytearray.splitlines. | |||||
* | | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-10 | 1 | -6/+3 | |
| | | | | | | | | The macro was introduced in #12724. | |||||
* | | merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind ↵ | Senthil Kumaran | 2011-07-27 | 1 | -2/+2 | |
|\ \ | |/ | | | | | methods of bytes/bytearry/unicodeobject. | |||||
| * | Fix closes Issue12621 - Fix docstrings of find and rfind methods of ↵ | Senthil Kumaran | 2011-07-27 | 1 | -2/+2 | |
| | | | | | | | | bytes/bytearry/unicodeobject. | |||||
* | | #6780: merge with 3.2. | Ezio Melotti | 2011-04-26 | 1 | -4/+12 | |
|\ \ | |/ | ||||||
| * | #6780: merge with 3.1. | Ezio Melotti | 2011-04-26 | 1 | -4/+12 | |
| |\ | ||||||
| | * | #6780: fix starts/endswith error message to mention that tuples are accepted ↵ | Ezio Melotti | 2011-04-26 | 1 | -4/+12 | |
| | | | | | | | | | | | | too. | |||||
* | | | MERGE: startswith and endswith don't accept None as slice index. Patch by ↵ | Jesus Cea | 2011-04-20 | 1 | -8/+5 | |
|\ \ \ | |/ / | | | | | | | Torsten Becker. (closes #11828) | |||||
| * | | MERGE: startswith and endswith don't accept None as slice index. Patch by ↵ | Jesus Cea | 2011-04-20 | 1 | -8/+5 | |
| |\ \ | | |/ | | | | | | | Torsten Becker. (closes #11828) | |||||
| | * | startswith and endswith don't accept None as slice index. Patch by Torsten ↵ | Jesus Cea | 2011-04-20 | 1 | -8/+5 | |
| | | | | | | | | | | | | Becker. (closes #11828) | |||||
* | | | #11515: Merge with 3.2. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | #11515: Merge with 3.1. | Ezio Melotti | 2011-03-15 | 1 | -1/+1 | |
| |\ \ | | |/ | ||||||
| | * | #11515: fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-15 | 1 | -8/+8 | |
| | | |