summaryrefslogtreecommitdiffstats
path: root/Objects/bytesobject.c
Commit message (Expand)AuthorAgeFilesLines
* gh-139871: Add `bytearray.take_bytes([n])` to efficiently extract `bytes` (GH...Cody Maloney2025-11-131-7/+1
* gh-140939: Fix memory leak in `_PyBytes_FormatEx` error path (#140957)Stan Ulbrych2025-11-061-0/+1
* gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are uni...Sergey Miryanov2025-10-151-2/+2
* gh-139156: Use PyBytesWriter in _PyUnicode_EncodeCharmap() (#139251)Victor Stinner2025-09-241-10/+2
* gh-129813, PEP 782: Remove the private _PyBytesWriter API (#139264)Victor Stinner2025-09-231-285/+0
* gh-129813, PEP 782: Optimize byteswriter_resize() (#139101)Victor Stinner2025-09-181-11/+15
* gh-129813, PEP 782: Set invalid bytes in PyBytesWriter (#139054)Victor Stinner2025-09-171-6/+15
* gh-71679: Share the repr implementation between bytes and bytearray (GH-138181)Serhiy Storchaka2025-09-171-9/+15
* gh-129813, PEP 782: Add PyBytesWriter.overallocate (#138941)Victor Stinner2025-09-151-9/+12
* gh-129813, PEP 782: Init small_buffer in PyBytesWriter_Create() (#138924)Victor Stinner2025-09-151-0/+3
* gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#138839)Victor Stinner2025-09-151-28/+19
* gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FromList() (#138837)Victor Stinner2025-09-131-59/+78
* gh-129813, PEP 782: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#138830)Victor Stinner2025-09-131-2/+2
* gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_DecodeEscape2() (#138838)Victor Stinner2025-09-131-14/+10
* gh-129813, PEP 782: Add PyBytesWriter_Format() (#138824)Victor Stinner2025-09-121-30/+56
* gh-129813, PEP 782: Add PyBytesWriter C API (#138822)Victor Stinner2025-09-121-0/+301
* GH-137623: Use an AC decorator for docstring line length enforcement (#137690)Adam Turner2025-08-181-14/+29
* gh-130821: Add type information to error messages for invalid return type (GH...Semyon Moroz2025-08-141-4/+4
* gh-133767: Fix use-after-free in the unicode-escape decoder with an error han...Serhiy Storchaka2025-05-121-18/+23
* gh-130928: Fix error message during bytes formatting for the `'i'` flag (#130...Ageev Maxim2025-03-241-2/+0
* gh-111178: fix UBSan failures for `PyBytesObject` (#131603)Bénédikt Tran2025-03-241-2/+3
* gh-131238: Remove more includes from pycore_interp.h (#131480)Victor Stinner2025-03-191-0/+1
* gh-111178: Change Argument Clinic signature for `@classmethod` (#131157)Victor Stinner2025-03-121-2/+2
* gh-129349: Accept bytes in bytes.fromhex()/bytearray.fromhex() (#129844)Daniel Pope2025-03-121-23/+49
* gh-111178: Change Argument Clinic signature for METH_O (#130682)Victor Stinner2025-03-111-2/+2
* gh-128016: Improved invalid escape sequence warning message (#128020)Umar Butler2025-01-151-3/+4
* gh-111178: fix UBSan failures in `Objects/bytesobject.c` (GH-128237)Bénédikt Tran2025-01-101-17/+21
* gh-128133: use relaxed atomics for hash of bytes (#128412)Abhijeet2025-01-031-31/+39
* gh-127740: For odd-length input to bytes.fromhex(...) change the error messag...Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)2024-12-111-4/+14
* gh-126076: Account for relocated objects in tracemalloc (#126077)Pablo Galindo Salgado2024-11-191-0/+1
* GH-126547: Pre-assign version numbers for a few common classes (GH-126551)Mark Shannon2024-11-081-0/+1
* GH-125174: Make immortal objects more robust, following design from PEP 683 (...Mark Shannon2024-10-101-3/+3
* gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#125195)Victor Stinner2024-10-091-1/+1
* gh-111178: Fix function signatures in bytesobject.c (#124806)Victor Stinner2024-10-021-36/+41
* gh-123091: Use _Py_IsImmortalLoose() (#123511)Victor Stinner2024-09-021-3/+3
* gh-122854: Add Py_HashBuffer() function (#122855)Victor Stinner2024-08-301-1/+1
* gh-121645: Add PyBytes_Join() function (#121646)Victor Stinner2024-08-301-4/+12
* Replace PyObject_Del with PyObject_Free (#122453)Victor Stinner2024-08-011-1/+1
* gh-117557: Improve error messages when a string, bytes or bytearray of length...Serhiy Storchaka2024-05-281-9/+20
* Remove almost all unpaired backticks in docstrings (#119231)Geoffrey Thomas2024-05-221-11/+11
* gh-117431: Adapt bytes and bytearray .find() and friends to Argument Clinic (...Erlend E. Aasland2024-04-121-17/+74
* gh-117439: Make refleak checking thread-safe without the GIL (#117469)Sam Gross2024-04-081-1/+1
* gh-117431: Adapt bytes and bytearray .startswith() and .endswith() to Argumen...Erlend E. Aasland2024-04-031-8/+42
* gh-87193: Support bytes objects with refcount > 1 in _PyBytes_Resize() (GH-11...Serhiy Storchaka2024-03-251-18/+23
* gh-108767: Replace ctype.h functions with pyctype.h functions (#108772)Victor Stinner2023-09-011-4/+4
* gh-108444: Replace _PyLong_AsInt() with PyLong_AsInt() (#108459)Victor Stinner2023-08-241-1/+1
* gh-106320: Remove private _PyEval function (#108433)Victor Stinner2023-08-241-2/+3
* GH-84436: Skip refcounting for known immortals (GH-107605)Brandt Bucher2023-08-041-15/+12
* gh-105235: Prevent reading outside buffer during mmap.find() (#105252)Dennis Sweeney2023-07-131-2/+19
* gh-104922: remove PY_SSIZE_T_CLEAN (#106315)Inada Naoki2023-07-021-2/+0