177 Commits (d4095d95f87010751ebc0b656a87f422ce5480ad)

Author SHA1 Message Date
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
Georg Brandl 02524629f3 #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 15 years ago
Victor Stinner c911bbfd5d str, bytes, bytearray docstring: remove unnecessary [...] 15 years ago
Victor Stinner e14e212221 Fix encode/decode method doc of str, bytes, bytearray types 15 years ago
David Malcolm 9696088b6d Issue #10288: The deprecated family of "char"-handling macros 15 years ago
Benjamin Peterson 8f67d0893f make hashes always the size of pointers; introduce Py_hash_t #9778 15 years ago
Senthil Kumaran f77342076e Merged revisions 84629 via svnmerge from 16 years ago
Senthil Kumaran 9a9dd1c140 Revert the doc change done in r83880. str.replace with negative count value is not a feature. 16 years ago
Antoine Pitrou bc760d9f45 Merged revisions 84070,84074 via svnmerge from 16 years ago
Antoine Pitrou 0010d37a43 Fix some compilation warnings under 64-bit Windows (issue #9566). 16 years ago
Alexander Belopolsky f0f45142d5 Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 16 years ago
Mark Dickinson cf940c701f Issue #9530: Fix undefined-behaviour-inducing overflow checks in bytes and bytearray implementations. 16 years ago
Senthil Kumaran c3ce882c75 Merged revisions 83882 via svnmerge from 16 years ago
Senthil Kumaran f2de1ffc88 spelling mistake. 16 years ago
Senthil Kumaran a3aee53776 Merged revisions 83880 via svnmerge from 16 years ago