cpython/Objects
Miss Islington (bot) 313544eb03
[3.11] gh-127563: use dk_log2_index_bytes=3 in empty dicts (GH-127568) (GH-127813) (#135463)
[3.12] gh-127563: use `dk_log2_index_bytes=3` in empty dicts (GH-127568) (GH-127813)

This fixes a UBSan failure (unaligned zero-size memcpy) in `dictobject.c`.
(cherry picked from commit 9af96f4406)

(cherry picked from commit 320a1dcd97)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-06-16 14:51:04 +02:00
..
clinic [3.11] gh-110383: Improve accuracy of str.split() and str.rsplit() docstrings (GH-113355) (#113380) 2023-12-22 00:43:38 -07:00
stringlib
abstract.c
accu.c
boolobject.c
bytearrayobject.c [3.11] gh-112625: Protect bytearray from being freed by misbehaving iterator inside bytearray.join (GH-112626) (GH-112694) 2023-12-04 10:37:25 +02:00
bytes_methods.c
bytesobject.c [3.11] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (GH-134341) 2025-06-02 17:52:52 +02:00
call.c
capsule.c
cellobject.c
classobject.c
codeobject.c
complexobject.c
descrobject.c [3.11] gh-115618: Remove improper Py_XDECREFs in property methods (GH-115619) (GH-115621) 2024-02-17 21:47:32 +00:00
dictnotes.txt
dictobject.c [3.11] gh-127563: use dk_log2_index_bytes=3 in empty dicts (GH-127568) (GH-127813) (#135463) 2025-06-16 14:51:04 +02:00
enumobject.c
exception_handling_notes.txt
exceptions.c
fileobject.c
floatobject.c [3.11] gh-116714: Handle errors correctly in PyFloat_GetInfo (GH-116715) (#116723) 2024-03-13 16:40:30 +03:00
frame_layout.md
frameobject.c [3.11] GH-94438: Restore ability to jump over None tests (GH-111338) 2023-10-25 20:47:16 +00:00
funcobject.c
genericaliasobject.c
genobject.c
interpreteridobject.c
iterobject.c
listobject.c [3.11] gh-112087: Fix reduce logic for the empty reverse iterator for list (gh-115472) 2024-02-14 18:43:39 +00:00
listsort.txt
lnotab_notes.txt [3.11] Document the co_lines method on code objects (#113682) (#113687) 2024-01-03 19:59:10 +00:00
locations.md
longobject.c [3.11] gh-110819: Fix ‘kind’ may be used uninitialized warning in longobject (GH-116599) (#116650) 2024-03-12 22:21:52 +03:00
memoryobject.c
methodobject.c
moduleobject.c
namespaceobject.c
object.c
obmalloc.c
odictobject.c
picklebufobject.c
rangeobject.c
README
setobject.c [3.11] gh-113560: Improve docstrings for set.issubset() and set.issuperset() (GH-113562) (GH-114643) 2024-01-27 11:21:24 +00:00
sliceobject.c
structseq.c
tupleobject.c
typeobject.c [3.11] gh-116296: Fix refleak in reduce_newobj() corner case (GH-116297) (#116300) 2024-03-04 10:04:21 +00:00
typeslots.inc
typeslots.py
unicodectype.c
unicodeobject.c [3.11] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133944) (GH-134341) 2025-06-02 17:52:52 +02:00
unicodetype_db.h
unionobject.c
weakrefobject.c

Source files for various builtin objects