320 Commits (5d4cb54800966947db2e86f65fb109c5067076be)

Author SHA1 Message Date
Serhiy Storchaka 20b39b27d9 Removed redundant casts to `char *`. 12 years ago
Serhiy Storchaka d8a1447c99 Issue #22215: Now ValueError is raised instead of TypeError when str or bytes 12 years ago
Victor Stinner 049e509a9f Issue #22207: Fix "comparison between signed and unsigned integers" warning in 12 years ago
Victor Stinner 88d146b7b9 Optimize PyBytes_FromObject(): only overallocate when size=0 to not get the 12 years ago
Terry Jan Reedy ffff1440d1 Issue #22077: Improve index error messages for bytearrays, bytes, lists, and 12 years ago
Martin v. Löwis 0efea322a9 Rerun AC, silence pointer conversion warnings. 12 years ago
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" 13 years ago
Christian Heimes d3afe781b1 Silence expression result unused warnings with clang. 13 years ago
Christian Heimes 985ecdcfc2 ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. 13 years ago
Ezio Melotti 745d54d2fa #17806: Added keyword-argument support for "tabsize" to str/bytes.expandtabs(). 13 years ago
Victor Stinner fd9e44db37 Issue #16286: optimize PyUnicode_RichCompare() for identical strings (same 13 years ago
Victor Stinner c8bc5377ac Issue #16286: write a new subfunction bytes_compare_eq() 13 years ago
Victor Stinner 986e224d5a Issue #18408: Fix error handling in PyBytes_FromObject() 13 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 13 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 14 years ago
Serhiy Storchaka f458a03617 Issue #17034: Use Py_CLEAR() in bytesobject.c. 14 years ago
Serhiy Storchaka ace3ad3bf7 Issue #16975: Fix error handling bug in the escape-decode bytes decoder. 14 years ago
Benjamin Peterson 5ff3f73d94 try to call __bytes__ before __index__ (closes #16722) 14 years ago
Gregory P. Smith 27cbcd6241 Fix the internals of our hash functions to used unsigned values during hash 14 years ago
Chris Jerdonek e7f2186f99 Issue #16495: remove extraneous NULL encoding check from bytes_decode(). 14 years ago
Antoine Pitrou cfc22b4a9b Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects. 14 years ago
Armin Ronacher aa9a79d279 Issue #16148: implemented PEP 424 14 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. 15 years ago
Gregory P. Smith 63e6c3222f Consolidate the occurrances of the prime used as the multiplier when hashing 15 years ago
Victor Stinner bb2e9c477d Issue #11231: Fix bytes and bytearray docstrings 15 years ago
Antoine Pitrou ce4a9da705 Issue #13411: memoryview objects are now hashable when the underlying object is hashable. 15 years ago
Victor Stinner 9e30aa52fd Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 15 years ago
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods 15 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 15 years ago
Victor Stinner 6430fd56b4 Fix hex_digit_to_int() prototype: expect Py_UCS4, not Py_UNICODE 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Mark Dickinson 57e683e53e Issue #1621: Fix undefined behaviour in bytes.__hash__, str.__hash__, tuple.__hash__, frozenset.__hash__ and set indexing operations. 15 years ago
Mark Dickinson 0d5f6adbb3 Issue #13012: Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines. 15 years ago
Senthil Kumaran 53516a82df Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. 15 years ago