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
Missing recursion checks building long lazy import alias can segfault #159288
Bug: When lazily importing a long dotted named module using an alias, nested placeholders are used for each name to build the full chain recursively. If the dotted module name is long enough (import a.b.c.d.etc as foo), it's possible to overflow the C stack and segfault.
Severity: It's likely that these use cases would rarely be hit, but they do segfault when using lazy imports and they do not with eager imports, so I think it's still worth a small fix.
examples
Both tests leverage threading to reduce the available stack size.
Activity
StanFromIreland commentedon Oct 13, 2026
Hmm, we don't use the Priority field here, maybe it should be disabled like the other ones.