gh-125038: Fix crash after genexpr.gi_frame.f_locals manipulations (#125178)

This commit is contained in:
Mikhail Efimov 2024-10-22 19:00:25 +03:00 committed by GitHub
parent 91ddde4af0
commit 079875e395
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 77 additions and 0 deletions

View file

@ -810,6 +810,7 @@ Disassembly of <code object <genexpr> at 0x..., file "%s", line %d>:
POP_TOP
L1: RESUME 0
LOAD_FAST 0 (.0)
GET_ITER
L2: FOR_ITER 10 (to L3)
STORE_FAST 1 (z)
LOAD_DEREF 2 (x)