251 Commits (2ec8063cc960d32e244dc6a27567f66a447bbda3)

Author SHA1 Message Date
Martin v. Löwis 7252a6e81e Issue #20179: Apply Argument Clinic to bytes and bytearray. 12 years ago
Zachary Ware bca9694ac1 Issue #21442: Fix MSVC compiler warning introduced by issue21377. 12 years ago
Victor Stinner db067af12a Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), 12 years ago
Antoine Pitrou 161d695fb0 Issue #21377: PyBytes_Concat() now tries to concatenate in-place when the first argument has a reference count of 1. 12 years ago
Kristján Valur Jónsson 25dded041f Make the various iterators' "setstate" sliently and consistently clip the 12 years ago
Victor Stinner c9362cf86a Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c" 12 years ago
Christian Heimes d3afe781b1 Silence expression result unused warnings with clang. 12 years ago
Christian Heimes 985ecdcfc2 ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. 12 years ago
Ezio Melotti 745d54d2fa #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). 12 years ago
Victor Stinner fd9e44db37 Issue #16286: optimize PyUnicode_RichCompare() for identical strings (same 12 years ago
Victor Stinner c8bc5377ac Issue #16286: write a new subfunction bytes_compare_eq() 12 years ago
Victor Stinner 986e224d5a Issue #18408: Fix error handling in PyBytes_FromObject() 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 13 years ago
Serhiy Storchaka 5e61f14c6d Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError 13 years ago
Serhiy Storchaka f458a03617 Issue #17034: Use Py_CLEAR() in bytesobject.c. 13 years ago
Serhiy Storchaka ace3ad3bf7 Issue #16975: Fix error handling bug in the escape-decode bytes decoder. 13 years ago
Benjamin Peterson 5ff3f73d94 try to call __bytes__ before __index__ (closes #16722) 13 years ago
Gregory P. Smith 27cbcd6241 Fix the internals of our hash functions to used unsigned values during hash 13 years ago
Chris Jerdonek e7f2186f99 Issue #16495: remove extraneous NULL encoding check from bytes_decode(). 13 years ago
Antoine Pitrou cfc22b4a9b Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects. 13 years ago
Armin Ronacher aa9a79d279 Issue #16148: implemented PEP 424 13 years ago
Stefan Krah 7d12d9df13 Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. 14 years ago
Larry Hastings ca28e99202 Issue #14889: PyBytes_FromObject(bytes) now just increfs and returns. 14 years ago
Victor Stinner d0880d57b0 Simplify and optimize formatlong() 14 years ago
Victor Stinner 8f825060f1 Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 14 years ago
Benjamin Peterson f6622c8a3e fix build without Py_DEBUG and DNDEBUG (closes #14509) 14 years ago
Antoine Pitrou a701388de1 Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Ezio Melotti cda6b6d60d #14081: The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments. 14 years ago
Benjamin Peterson 69e9727657 ensure no one tries to hash things before the random seed is found 14 years ago
Georg Brandl 2daf6ae249 Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 14 years ago
Georg Brandl beca27a394 Fix #13834: strip() strips leading and trailing whitespace. 14 years ago
Gregory P. Smith 63e6c3222f Consolidate the occurrances of the prime used as the multiplier when hashing 14 years ago
Victor Stinner bb2e9c477d Issue #11231: Fix bytes and bytearray docstrings 14 years ago
Antoine Pitrou ce4a9da705 Issue #13411: memoryview objects are now hashable when the underlying object is hashable. 14 years ago
Victor Stinner 9e30aa52fd Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 14 years ago
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods 14 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 14 years ago
Victor Stinner 6430fd56b4 Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODE 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Mark Dickinson 57e683e53e Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, tuple.__hash__, frozenset.__hash__ and set indexing operations. 14 years ago
Mark Dickinson 0d5f6adbb3 Issue #13012: Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines. 14 years ago
Senthil Kumaran 53516a82df Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 15 years ago
Ezio Melotti ba42fd5801 #6780: fix starts/endswith error message to mention that tuples are accepted too. 15 years ago
Jesus Cea ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 15 years ago
Eli Bendersky 1aef6b6e1e Issue #11634: Remove misleading paragraph from a comment 15 years ago
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Benjamin Peterson 28a4dce6a8 remove (un)transform methods 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago