243 Commits (00a0fc1144d928515ff8abd0de7bb6ad072fcbdb)

Author SHA1 Message Date
Berker Peksag 4a72a7b6c4 Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed 9 years ago
Serhiy Storchaka 06cfb0cd70 Issue #27473: Fixed possible integer overflow in bytes and bytearray 10 years ago
Martin Panter a90a4a9651 Issue #27125: Remove duplicated words from documentation and comments 10 years ago
Serhiy Storchaka fb81d3cbe7 Issue #26765: Moved common code for the replace() method of bytes and bytearray 10 years ago
Serhiy Storchaka dd40fc3e57 Issue #26765: Moved common code and docstrings for bytes and bytearray methods 10 years ago
Serhiy Storchaka 7a9579c0ce Got rid of redundand "self" parameter declarations. 10 years ago
Victor Stinner 71dc3d878a Issue #25349, #26249: Fix memleak in formatfloat() 10 years ago
Victor Stinner e914d41312 Issue #26766: Fix _PyBytesWriter_Finish() 10 years ago
Serhiy Storchaka c9a59e6e4f Issue #26764: Fixed SystemError in bytes.__rmod__. 10 years ago
Serhiy Storchaka 57a01d3a0e Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF 10 years ago
Serhiy Storchaka 03f17f8671 Issue #17339: Improved TypeError message in bytes constructor. 10 years ago
Serhiy Storchaka 48842714b9 Issue #22570: Renamed Py_SETREF to Py_XSETREF. 10 years ago
Serhiy Storchaka fbb1c5ee06 Issue #26494: Fixed crash on iterating exhausting iterators. 10 years ago
Victor Stinner fac395681f Optimize bytes.replace(b'', b'.') 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 10 years ago
Serhiy Storchaka 5a57ade58e Issue #20440: Massive replacing unsafe attribute setting code with special 10 years ago
Serhiy Storchaka 5aac3ed799 Issue #25766: Special method __bytes__() now works in str subclasses. 10 years ago
Serhiy Storchaka 15095800a3 Issue #24731: Fixed crash on converting objects with special methods 10 years ago
Serhiy Storchaka 413fdcea21 Issue #24821: Refactor STRINGLIB(fastsearch_memchr_1char) and split it on 10 years ago
Victor Stinner c3d2bc19e4 Use _PyBytesWriter in _PyBytes_FromIterator() 10 years ago
Victor Stinner c5c3ba4bec Add _PyBytesWriter_Resize() function 10 years ago
Victor Stinner 3c50ce39bf Factorize _PyBytes_FromList() and _PyBytes_FromTuple() code using a C macro 10 years ago
Victor Stinner f2eafa323b Split PyBytes_FromObject() into subfunctions 10 years ago
Victor Stinner 2ec8063cc9 Modify _PyBytes_DecodeEscapeRecode() to use _PyBytesAPI 10 years ago
Victor Stinner f6358a7e4c _PyBytesWriter_Alloc(): only use 10 bytes of the small buffer in debug mode to 10 years ago
Victor Stinner 2bf8993db9 Optimize bytes.fromhex() and bytearray.fromhex() 10 years ago
Victor Stinner 772b2b09f2 Optimize bytearray % args 10 years ago
Victor Stinner 661aaccf9d Add use_bytearray attribute to _PyBytesWriter 10 years ago
Victor Stinner 03dab786b2 Rewrite PyBytes_FromFormatV() using _PyBytesWriter API 10 years ago
Victor Stinner e9aa5950bb Fix compilation error in _PyBytesWriter_WriteBytes() on Windows 10 years ago
Victor Stinner 6c2cdae9e6 Writer APIs: use empty string singletons 10 years ago
Victor Stinner c29e29bed1 Relax _PyBytesWriter API 10 years ago
Victor Stinner 0cdad1e2bc Issue #25349: Add fast path for b'%c' % int 10 years ago
Victor Stinner be75b8cf23 Issue #25349: Optimize bytes % int 10 years ago
Victor Stinner ce179bf6ba Add _PyBytesWriter_WriteBytes() to factorize the code 10 years ago
Victor Stinner ad7715891e _PyBytesWriter: simplify code to avoid "prealloc" parameters 10 years ago
Victor Stinner 53926a1ce2 _PyBytesWriter: rename size attribute to min_size 10 years ago
Victor Stinner fa7762ec06 Issue #25349: Optimize bytes % args using the new private _PyBytesWriter API 10 years ago
Victor Stinner b3653a3458 Issue #25318: cleanup code _PyBytesWriter 10 years ago
Victor Stinner b13b97d3b8 Issue #25318: Fix compilation error 10 years ago
Victor Stinner 0016507c16 Issue #25318: Move _PyBytesWriter to bytesobject.c 10 years ago
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