_PyImport_LoadDynamicModule() encodes the module name explicitly to A… · python/cpython@65b7eff · GitHub
Skip to content

Commit 65b7eff

Browse files
author
Victor Stinner
committed
_PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
The name must be encodable to ASCII because dynamic module must have a function called "PyInit_NAME", they are written in C, and the C language doesn't accept non-ASCII identifiers.
1 parent 7bba62f commit 65b7eff

1 file changed

Lines changed: 25 additions & 15 deletions

File tree

Python/importdl.c

Lines changed: 25 additions & 15 deletions

0 commit comments

Comments
 (0)