mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
- Unify `_Py_ext_module_loader_info_init*` functions. The “core” one was entirely unused, and the difference between “builtin” and “extension” can be expressed in arguments. - Consolidate getting & checking the module name from spec. (This improves error message wording for `imp.create_builtin` with empty name.) - Allow non-ASCII names. Core modules (`sys` and `builtins`) still don't go through the routine. Co-authored-by: Itamar Oren <itamarost@gmail.com>
Source files for binary executables (as opposed to shared modules)