You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash in GenericAlias repr() with a self-mutating list #143823
Potentially this is failing to protect a collection before calling from C to Python space. I haven't looked into the underlying code, but if you don't have a proposed solution in mind I'd be happy to play with it and submit a PR based on what I uncover.
There's a related fix in progress in #143670, but I think it's insufficient. Feel free to propose a PR; make sure it fixes both the case here and the one in #143635.
Activity
JelleZijlstra commentedon Jan 14, 2026
Actually no, it's the same thing, though this repro case is simpler.
a12k commentedon Jan 14, 2026
Potentially this is failing to protect a collection before calling from C to Python space. I haven't looked into the underlying code, but if you don't have a proposed solution in mind I'd be happy to play with it and submit a PR based on what I uncover.
JelleZijlstra commentedon Jan 14, 2026
There's a related fix in progress in #143670, but I think it's insufficient. Feel free to propose a PR; make sure it fixes both the case here and the one in #143635.