]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 7 May 2011 10:46:05 +0000 (12:46 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 7 May 2011 10:46:05 +0000 (12:46 +0200)
commit65b7eff7c7b00bcd39ee3abfda00f9c556b24504
treeb649f86bbc245ad7422b78667c3016efce81e67f
parent7bba62fd68e3a2c410c37348cf679edea04c7718
_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.
Python/importdl.c