233 Commits (44fe401aa3afbb1173c1ca5aff18fc6c2efe8238)

Author SHA1 Message Date
Serhiy Storchaka d92d4efe3d Issue #23573: Restored optimization of bytes.rfind() and bytearray.rfind() 11 years ago
Serhiy Storchaka fa494fd883 Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), 11 years ago
Serhiy Storchaka 8b2e8b6cce Specify default values of semantic booleans in Argument Clinic generated signatures as booleans. 11 years ago
Gregory P. Smith 8cb6569fe1 Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview. 11 years ago
Christian Heimes 4e25913f9f Remove local dead code. In both blocks dir is always greater 0. 11 years ago
Larry Hastings 89964c48d1 Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. 11 years ago
Serhiy Storchaka 1009bf18b3 Issue #23501: Argumen Clinic now generates code into separate files by default. 11 years ago
Serhiy Storchaka 41525e31a5 Issue #23466: Raised OverflowError if %c argument is out of range. 11 years ago
Serhiy Storchaka 2c7b5a9d0d Issue #23466: %c, %o, %x, and %X in bytes formatting now raise TypeError on 11 years ago
Victor Stinner dabbfe7b30 Issue #23573: Fix bytes.rfind() and bytearray.rfind() on Windows 11 years ago
Serhiy Storchaka d9d769fcdd Issue #23573: Increased performance of string search operations (str.find, 11 years ago
Serhiy Storchaka 1dd49824df Issue #23681: The -b option now affects comparisons of bytes with int. 11 years ago
Ethan Furman 62e977f1b6 Close issue23467: add %r compatibility to bytes and bytearray 11 years ago
Antoine Pitrou a654510150 Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 11 years ago
Serhiy Storchaka 26861b0b29 Issue #23450: Fixed possible integer overflows. 11 years ago
Serhiy Storchaka ea5ce5a15e Issue #23383: Cleaned up bytes formatting. 11 years ago
Serhiy Storchaka 83848704f5 Issue #22896: Fixed using _getbuffer() in recently added _PyBytes_Format(). 11 years ago
Serhiy Storchaka 4fdb68491e Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 11 years ago
Victor Stinner 5474d0ba19 Issue #20284: Fix a compilation warning on Windows 11 years ago
Benjamin Peterson a8efc9601d ensure ilen is initialized when it is assigned to len 11 years ago
Ethan Furman b95b56150f Issue20284: Implement PEP461 11 years ago
Serhiy Storchaka 83cf99d733 Issue #20335: bytes constructor now raises TypeError when encoding or errors 11 years ago
Larry Hastings dfbeb160de Issue #22615: Argument Clinic now supports the "type" argument for the 11 years ago
R David Murray 861470c836 #16518: Bring error messages in harmony with docs ("bytes-like object") 11 years ago
Benjamin Peterson d48bc9468f these variables ought to be Py_ssize_t 11 years ago
Benjamin Peterson 42ff105539 fix overflow checking in PyBytes_Repr (closes #22519) 11 years ago
Serhiy Storchaka 20b39b27d9 Removed redundant casts to `char *`. 11 years ago
Serhiy Storchaka d8a1447c99 Issue #22215: Now ValueError is raised instead of TypeError when str or bytes 11 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" 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