COMMITS
/ Objects/bytesobject.c April 1, 2026
S
gh-147944: Increase range of bytes_per_sep (GH-147946)
Serhiy Storchaka committed
March 31, 2026
S
gh-147856: Allow the 'count' argument of `bytes.replace()` to be a keyword (#147943)
Stan Ulbrych committed
January 26, 2026
S
gh-142037: Fix a refleak introduced in GH-142081 (GH-144256)
Serhiy Storchaka committed
January 24, 2026
S
gh-142037: Improve error messages for printf-style formatting (GH-142081)
Serhiy Storchaka committed
January 22, 2026
G
gh-144157: Optimize bytes.translate() by deferring change detection (GH-144158)
Gregory P. Smith committed
November 13, 2025
C
gh-139871: Add `bytearray.take_bytes([n])` to efficiently extract `bytes` (GH-140128)
Cody Maloney committed
November 6, 2025
S
gh-140939: Fix memory leak in `_PyBytes_FormatEx` error path (#140957)
Stan Ulbrych committed
October 15, 2025
S
September 24, 2025
V
gh-139156: Use PyBytesWriter in _PyUnicode_EncodeCharmap() (#139251)
Victor Stinner committed
September 23, 2025
V
gh-129813, PEP 782: Remove the private _PyBytesWriter API (#139264)
Victor Stinner committed
September 18, 2025
V
gh-129813, PEP 782: Optimize byteswriter_resize() (#139101)
Victor Stinner committed
September 17, 2025
V
gh-129813, PEP 782: Set invalid bytes in PyBytesWriter (#139054)
Victor Stinner committed
S
gh-71679: Share the repr implementation between bytes and bytearray (GH-138181)
Serhiy Storchaka committed
September 15, 2025
V
gh-129813, PEP 782: Add PyBytesWriter.overallocate (#138941)
Victor Stinner committed
V
gh-129813, PEP 782: Init small_buffer in PyBytesWriter_Create() (#138924)
Victor Stinner committed
V
gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#138839)
Victor Stinner committed
September 13, 2025
V
gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FromList() (#138837)
Victor Stinner committed
V
gh-129813, PEP 782: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#138830)
Victor Stinner committed
V
gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_DecodeEscape2() (#138838)
Victor Stinner committed
September 12, 2025
V
gh-129813, PEP 782: Add PyBytesWriter_Format() (#138824)
Victor Stinner committed
V
gh-129813, PEP 782: Add PyBytesWriter C API (#138822)
Victor Stinner committed
August 18, 2025
A
GH-137623: Use an AC decorator for docstring line length enforcement (#137690)
Adam Turner committed
August 14, 2025
S
gh-130821: Add type information to error messages for invalid return type (GH-130835)
Semyon Moroz committed
May 12, 2025
S
gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648)
Serhiy Storchaka committed
March 24, 2025
A
gh-130928: Fix error message during bytes formatting for the `'i'` flag (#130967)
Ageev Maxim committed
B
gh-111178: fix UBSan failures for `PyBytesObject` (#131603)
Bénédikt Tran committed
March 19, 2025
V
gh-131238: Remove more includes from pycore_interp.h (#131480)
Victor Stinner committed
March 12, 2025
V
gh-111178: Change Argument Clinic signature for `@classmethod` (#131157)
Victor Stinner committed
D
gh-129349: Accept bytes in bytes.fromhex()/bytearray.fromhex() (#129844)
Daniel Pope committed
March 11, 2025
V
gh-111178: Change Argument Clinic signature for METH_O (#130682)
Victor Stinner committed
January 15, 2025
U
gh-128016: Improved invalid escape sequence warning message (#128020)
Umar Butler committed
January 10, 2025
B
gh-111178: fix UBSan failures in `Objects/bytesobject.c` (GH-128237)
Bénédikt Tran committed
January 3, 2025
A
gh-128133: use relaxed atomics for hash of bytes (#128412)
Abhijeet committed
December 11, 2024
S
gh-127740: For odd-length input to bytes.fromhex(...) change the error message to ValueError: fromhex() arg must be of even length (#127756)
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) committed
November 19, 2024
P
gh-126076: Account for relocated objects in tracemalloc (#126077)
Pablo Galindo Salgado committed
November 8, 2024
M
GH-126547: Pre-assign version numbers for a few common classes (GH-126551)
Mark Shannon committed
October 10, 2024
M
GH-125174: Make immortal objects more robust, following design from PEP 683 (GH-125251)
Mark Shannon committed
October 9, 2024
V
gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#125195)
Victor Stinner committed
October 2, 2024
V
gh-111178: Fix function signatures in bytesobject.c (#124806)
Victor Stinner committed
September 2, 2024
V
gh-123091: Use _Py_IsImmortalLoose() (#123511)
Victor Stinner committed
August 30, 2024
V
gh-122854: Add Py_HashBuffer() function (#122855)
Victor Stinner committed
V
gh-121645: Add PyBytes_Join() function (#121646)
Victor Stinner committed
August 1, 2024
V
Replace PyObject_Del with PyObject_Free (#122453)
Victor Stinner committed
May 28, 2024
S
gh-117557: Improve error messages when a string, bytes or bytearray of length 1 are expected (GH-117631)
Serhiy Storchaka committed
May 22, 2024
G
Remove almost all unpaired backticks in docstrings (#119231)
Geoffrey Thomas committed
April 12, 2024
E
gh-117431: Adapt bytes and bytearray .find() and friends to Argument Clinic (#117502)
Erlend E. Aasland committed
April 8, 2024
S
gh-117439: Make refleak checking thread-safe without the GIL (#117469)
Sam Gross committed
April 3, 2024
E
gh-117431: Adapt bytes and bytearray .startswith() and .endswith() to Argument Clinic (#117495)
Erlend E. Aasland committed
March 25, 2024
S
gh-87193: Support bytes objects with refcount > 1 in _PyBytes_Resize() (GH-117160)
Serhiy Storchaka committed
September 1, 2023
V
gh-108767: Replace ctype.h functions with pyctype.h functions (#108772)
Victor Stinner committed