mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
Document that single-phase init modules are added to sys.modules by the call itself (unlike multi-phase init modules), and that the spec name identifies the module, so a later call with the same name and a different init function reuses the cached module without calling the new init function. Add regression tests for both behaviors. Co-authored-by: Petr Viktorin <encukou@gmail.com>
Source files for binary executables (as opposed to shared modules)