cpython/Objects
Miss Islington (bot) 036d2d648c
[3.13] gh-157892: Fix error check on _Py_hashtable_set() in intern_static() (GH-157898) (#158299)
_Py_hashtable_set() returns -1 on failure, so the "< -1" check could never be true and the Py_FatalError() call was unreachable.
(cherry picked from commit a4eb936727)

Co-authored-by: Rishi Raj <180109771+rishiraj38@users.noreply.github.com>
2026-09-29 22:02:38 +00:00
..
clinic [3.13] gh-155952: Fix <unrepresentable> Argument Clinic defaults in several signatures (#156170) 2026-08-21 13:25:13 +01:00
mimalloc [3.13] gh-151065: Copy fix for memory leak from mimalloc upstream (GH-151066) (GH-151385) 2026-06-11 21:18:14 -04:00
stringlib [3.13] gh-151295: Fix use-after-free in bytes.join()/bytearray.join() via re-entrant __buffer__ (GH-151296) (GH-151306) 2026-06-11 11:30:49 +03:00
abstract.c
boolobject.c [3.13] gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306) (#123316) 2024-08-25 19:48:34 +00:00
bytearrayobject.c [3.13] gh-153578: Fix out-of-bounds write in bytearray.extend() with a reentrant __buffer__ (GH-153579) (GH-156009) 2026-08-19 10:07:10 +00:00
bytes_methods.c [3.13] gh-150285: Fix too long docstrings in builtins (GH-150293) (GH-150466) (GH-150472) 2026-05-26 10:34:50 +00:00
bytesobject.c [3.13] gh-156995: Fix _PyBytes_Resize() in Free Threading (#156996) (#157373) (#157436) 2026-09-13 20:18:34 +02:00
call.c [3.13] gh-142737: Handle lost io.open in _Py_FindSourceFile (GH-142747) (GH-142774) 2025-12-15 23:27:15 +00:00
capsule.c [3.13] gh-124538: Fix crash when using gc.get_referents on an untracked capsule object (GH-124559) (#124588) 2024-09-26 13:51:58 -07:00
cellobject.c [3.13] Fix a stray newline in the cell type docstring (GH-157240) (#157277) 2026-09-10 16:21:01 +00:00
classobject.c [3.13] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136126) 2025-07-01 11:26:52 +02:00
codeobject.c [3.13] gh-150285: Fix too long docstrings in builtins (GH-150293) (GH-150466) (GH-150472) 2026-05-26 10:34:50 +00:00
complexobject.c [3.13] gh-155526: Don't check errno in abs(complex) (GH-155527) (#157341) (#157558) 2026-09-24 00:09:46 +02:00
descrobject.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
dictnotes.txt
dictobject.c [3.13] gh-158254: Detect keys changing during reverse dict iteration (GH-158255) (GH-158269) 2026-09-27 03:17:41 +00:00
enumobject.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
exception_handling_notes.txt
exceptions.c [3.13] GH-146096: Fix segfault in BaseExceptionGroup repr (GH-146141) (GH-156903) 2026-09-04 11:25:06 +02:00
fileobject.c
floatobject.c [3.13] gh-150285: Fix too long docstrings in builtins (GH-150293) (GH-150466) (GH-150472) 2026-05-26 10:34:50 +00:00
frame_layout.md
frameobject.c [3.13] gh-156189: Fix a crash when deleting frame.f_trace_opcodes (GH-156190) 2026-08-21 15:30:44 +00:00
funcobject.c [3.13] gh-113318: Fix @getter and @setter in Argument Clinic (GH-155778) (GH-156012) 2026-08-18 13:09:10 +00:00
genericaliasobject.c [3.13] gh-155752: Do not crash when GenericAlias parameters change during substitution (GH-155761) (#155772) 2026-09-07 22:01:32 -04:00
genobject.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
iterobject.c [3.13] gh-128078: Clear exception in anext before calling _PyGen_SetStopIterationValue (GH-128780) (#128785) 2025-01-13 13:20:49 +00:00
listobject.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00
listsort.txt GH-116939: Rewrite binarysort() (#116940) 2024-03-21 22:27:25 -05:00
lnotab_notes.txt Document the co_lines method on code objects (#113682) 2024-01-03 19:29:24 +00:00
locations.md
longobject.c [3.13] gh-150285: Fix too long docstrings in builtins (GH-150293) (GH-150466) (GH-150472) 2026-05-26 10:34:50 +00:00
memoryobject.c [3.13] gh-150285: Fix too long docstrings in builtins (GH-150293) (GH-150466) (GH-150472) 2026-05-26 10:34:50 +00:00
methodobject.c [3.13] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136126) 2025-07-01 11:26:52 +02:00
moduleobject.c [3.13] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136126) 2025-07-01 11:26:52 +02:00
namespaceobject.c [3.13] gh-143636: fix a crash when calling `__replace__ on invalid SimpleNamespace` instances (GH-143655) (#145940) 2026-03-14 11:00:56 +00:00
object.c [3.13] gh-102809: No longer mention Misc/gdbinit in the code (GH-143980) (#144045) 2026-01-19 17:59:44 +00:00
object_layout.md GH-115776: Embed the values array into the object, for "normal" Python objects. (GH-116115) 2024-04-02 11:59:21 +01:00
object_layout_312.gv GH-115776: Embed the values array into the object, for "normal" Python objects. (GH-116115) 2024-04-02 11:59:21 +01:00
object_layout_312.png [3.13] gh-71648: Optimize PNG files (GH-138842) (#138852) 2025-09-14 08:29:59 -07:00
object_layout_313.gv GH-115776: Embed the values array into the object, for "normal" Python objects. (GH-116115) 2024-04-02 11:59:21 +01:00
object_layout_313.png [3.13] gh-71648: Optimize PNG files (GH-138842) (#138852) 2025-09-14 08:29:59 -07:00
object_layout_full_312.gv
object_layout_full_312.png [3.13] gh-71648: Optimize PNG files (GH-138842) (#138852) 2025-09-14 08:29:59 -07:00
object_layout_full_313.gv GH-115776: Embed the values array into the object, for "normal" Python objects. (GH-116115) 2024-04-02 11:59:21 +01:00
object_layout_full_313.png [3.13] gh-71648: Optimize PNG files (GH-138842) (#138852) 2025-09-14 08:29:59 -07:00
obmalloc.c [3.13] GH-133136: Revise QSBR to reduce excess memory held (gh-135473) (gh-136480) 2025-07-30 11:06:44 -07:00
odictobject.c [3.13] gh-148660: Fix use-after-free in OrderedDict.copy() on reentrant mutation (GH-151573) (#152542) 2026-06-28 19:56:52 -07:00
picklebufobject.c [3.13] gh-135607: remove null checking of weakref list in dealloc of extension modules and objects (#135614) (#136126) 2025-07-01 11:26:52 +02:00
rangeobject.c [3.13] GH-141312: Allow only integers to longrangeiter_setstate state (GH-141317) (GH-141568) 2025-11-15 21:14:17 +02:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
setobject.c [3.13] gh-152235: Defer GC tracking in set.union and set.difference (gh-152290) (gh-152319) 2026-06-26 17:54:19 +00:00
sliceobject.c [3.13] gh-150285: Fix too long docstrings in builtins (GH-150293) (GH-150466) (GH-150472) 2026-05-26 10:34:50 +00:00
structseq.c [3.13] gh-145376: Fix GC tracking in structseq.__replace__ (GH-145820) (#145924) 2026-03-16 14:38:24 +05:30
tupleobject.c [3.13] gh-150285: Fix too long docstrings in GenericAlias and __class_getitem__ (GH-151354) (GH-151369) 2026-06-11 17:11:49 +00:00
typeobject.c [3.13] gh-151912: Fix segfault in type() with NULL tp_new metaclasses (GH-151916) (#153706) 2026-07-14 22:16:47 +05:30
typeslots.inc bpo-41073: PyType_GetSlot() can now accept static types. (GH-21931) 2020-11-10 12:53:46 -08:00
typeslots.py
typevarobject.c [3.13] gh-157621: Clear weakrefs for ParamSpec attributes (GH-157622) (#157655) 2026-09-29 23:35:56 +02:00
unicodectype.c [3.13] gh-82045: Correct and deduplicate "isprintable" docs; add test. (GH-130127) 2025-02-17 15:02:39 +01:00
unicodeobject.c [3.13] gh-157892: Fix error check on _Py_hashtable_set() in intern_static() (GH-157898) (#158299) 2026-09-29 22:02:38 +00:00
unicodetype_db.h [3.13] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) (GH-156020) (GH-156922) 2026-09-09 16:28:35 +02:00
unionobject.c [3.13] gh-132713: Fix typing.Union[index] race condition (GH-132802) (#132839) 2025-04-23 14:12:03 +00:00
weakrefobject.c [3.13] gh-150319: Replace all documentation which says "See PEP 585" (#150325) (#150814) 2026-06-02 22:26:33 +00:00

Source files for various builtin objects