cpython/Objects
Victor Stinner 01af34a364
[3.13] gh-143050: Correct PyLong_FromString() to use _PyLong_Negate() (#145901) (#147437)
The long_from_string_base() might return a small integer, when the
_pylong.py is used to do conversion.  Hence, we must be careful here to
not smash it "small int" bit by using the _PyLong_FlipSign().

Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit db5936c5b8)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2026-03-31 17:06:38 +02:00
..
clinic
mimalloc
stringlib [3.13] gh-145092: Fix compiler warning for memchr() and wcschr() returning const pointer (GH-145093) (GH-145101) 2026-02-22 08:28:24 +00:00
abstract.c
boolobject.c
bytearrayobject.c [3.13] gh-143003: Fix possible shared buffer overflow in bytearray.extend() (GH-143086) (GH-143448) 2026-01-06 13:49:31 +02:00
bytes_methods.c
bytesobject.c [3.13] gh-140939: Fix memory leak in _PyBytes_FormatEx error path (GH-140957) (#141155) 2025-11-06 16:16:43 +00: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
cellobject.c
classobject.c
codeobject.c [3.13] gh-140815: Fix faulthandler for invalid/freed frame (#140921) (#140985) 2025-11-05 18:39:28 +01:00
complexobject.c
descrobject.c [3.13] gh-146615: Fix crash in __get__() for METH_METHOD descriptors with invalid type argument (GH-146634) (GH-146648) 2026-03-31 09:22:59 +00:00
dictnotes.txt
dictobject.c [3.13] gh-130327: Always traverse managed dictionaries, even when inline values are available (GH-130469) (#145440) 2026-03-02 20:03:08 +00:00
enumobject.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
exception_handling_notes.txt
exceptions.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
fileobject.c
floatobject.c [3.13] gh-143006: Fix and optimize mixed comparison of float and int (GH-143084) (GH-143624) 2026-01-09 17:43:35 +00:00
frame_layout.md
frameobject.c [3.13] gh-146092: Handle _PyFrame_GetFrameObject() failures properly (GH-146124) (GH-146132) (#146138) 2026-03-18 21:23:26 +01:00
funcobject.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
genericaliasobject.c [3.13] gh-143635: Fix crash in ga_repr_items_list (GH-143670) (#143852) 2026-01-15 15:27:31 +00:00
genobject.c [3.13] gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) (#140821) 2025-12-20 16:21:11 +02:00
iterobject.c
listobject.c [3.13] gh-146056: Fix repr() for lists containing NULLs (GH-146129) (GH-146155) (GH-146271) 2026-03-22 08:06:17 +00:00
listsort.txt
lnotab_notes.txt
locations.md
longobject.c [3.13] gh-143050: Correct PyLong_FromString() to use _PyLong_Negate() (#145901) (#147437) 2026-03-31 17:06:38 +02:00
memoryobject.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
methodobject.c
moduleobject.c
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
object_layout_312.gv
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
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
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
odictobject.c [3.13] Fix possible memory leak in OrderedDict popitem (GH-145247) (#146538) 2026-03-27 21:40:23 +00:00
picklebufobject.c
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
setobject.c [3.13] gh-141805: Fix crash after concurrent addition objects with the same hash to set (GH-143815) (GH-143853) 2026-01-15 07:59:15 +00:00
sliceobject.c
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
typeobject.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
typeslots.inc
typeslots.py
typevarobject.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
unicodectype.c
unicodeobject.c [3.13] gh-146615: Fix format specifiers in Objects/ directory (GH-146620) (GH-146655) 2026-03-31 08:44:51 +00:00
unicodetype_db.h
unionobject.c
weakrefobject.c

Source files for various builtin objects