[3.14] gh-132775: Always Set __builtins__ In _PyFunction_FromXIData()… · python/cpython@6493395 · GitHub
Skip to content

Commit 6493395

Browse files
[3.14] gh-132775: Always Set __builtins__ In _PyFunction_FromXIData() (gh-134794)
This is a small follow-up to gh-133481. There's a corner case in the behavior of PyImport_ImportModuleAttrString(), where it expects __builtins__ to be set if __globals__ is set. (cherry picked from commit 9b5e800, AKA gh-134758) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
1 parent a1b6252 commit 6493395

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Python/crossinterp_data_lookup.h

Lines changed: 8 additions & 0 deletions

0 commit comments

Comments
 (0)