◐ Shell
clean mode source ↗

bpo-43779: _PyArena_AddPyObject only steals a ref on success by erlend-aasland · Pull Request #25289 · python/cpython

pablogsal

erlend-aasland pushed a commit to erlend-aasland/cpython that referenced this pull request

Apr 8, 2021
…5289).

(cherry picked from commit c0e11a3)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

pablogsal added a commit that referenced this pull request

Apr 9, 2021
…H-25289). (GH-25294)

* [3.9] Fix possible refleak involving _PyArena_AddPyObject (GH-25289).
(cherry picked from commit c0e11a3)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

* Update Parser/pegen/pegen.c

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>