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
gh-157384: Refuse inittab names in PyImport_CreateModuleFromInitfunc()
Modules created by PyImport_CreateModuleFromInitfunc() share the
extensions cache and sys.modules with built-in modules. Passing a
spec whose name is registered in PyImport_Inittab either silently
ignored the init function (for an already loaded single-phase builtin,
or for "sys" and "builtins") or replaced the built-in module in
sys.modules (for a multi-phase builtin). Raise ImportError instead.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HoZE3WdRWQshvinfBZ137N
0 commit comments