summaryrefslogtreecommitdiffstats
path: root/Python/stackrefs.c
Commit message (Collapse)AuthorAgeFilesLines
* gh-131527: Stackref debug borrow checker (#140599)Mikhail Efimov2025-11-051-9/+82
| | | | | | | Add borrow checking to the stackref debug mode --------- Co-authored-by: mpage <mpage@meta.com>
* gh-135125: Fix Py_STACKREF_DEBUG build (GH-139475)Mikhail Efimov2025-10-231-13/+9
| | | | * Use the same pattern of refcounting for stackrefs as in production build
* GH-132554: Fix tier2 `FOR_ITER` implementation and optimizations (GH-135137)Mark Shannon2025-06-051-0/+4
|
* GH-132554: "Virtual" iterators (GH-132555)Mark Shannon2025-05-271-0/+8
| | | | | | * FOR_ITER now pushes either the iterator and NULL or leaves the iterable and pushes tagged zero * NEXT_ITER uses the tagged int as the index into the sequence or, if TOS is NULL, iterates as before.
* gh-133590: ensure that `TableEntry.linenumber_borrow` is initialized (#133681)Lauta2025-05-111-1/+1
|
* GH-132508: Use tagged integers on the evaluation stack for the last ↵Mark Shannon2025-04-291-5/+24
| | | | instruction offset (GH-132545)
* GH-131498: Cases generator: manage stacks automatically (GH-132074)Mark Shannon2025-04-041-0/+3
|
* GH-131904: Fix Py_STACKREF_DEBUG build (GH-132022)Mark Shannon2025-04-031-2/+8
|
* GH-127705: Use `_PyStackRef`s in the default build. (GH-127875)Mark Shannon2025-03-101-0/+9
|
* GH-127705: better double free message. (GH-130785)Mark Shannon2025-03-051-10/+36
| | | | | * Add location information when accessing already closed stackref * Add #def option to track closed stackrefs to provide precise information for use after free and double frees.
* GH-127705: Add debug mode for `_PyStackRef`s inspired by HPy debug mode ↵Mark Shannon2024-12-201-0/+156
(GH-128121)