This crashes on main:
defa():
defa():
[(lambda : b) forbin [a]]
print(b)
The original reproducer (found with my fork of https://github.com/carljm/compgenerator) was
classa:
defa():
classa:
[(lambda : (a:=a[(a:=2)])[b]) forbin (lambdab, a: 7)[a]]
[][2] =b
(1)[lambdaa: a] =4
(2)[2] =b=a
(4)[lambdab, a: b] =a=lambda : 1
Found in #104528 (comment) but turned out be unrelated to that PR.
Linked PRs
This crashes on main:
The original reproducer (found with my fork of https://github.com/carljm/compgenerator) was
Found in #104528 (comment) but turned out be unrelated to that PR.
Linked PRs