| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…) semantics (pythonGH-157389) 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. (cherry picked from commit 0c4ca17) Co-authored-by: Itamar Oren <itamarost@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
Documentation build overview143 files changed · + 1 added · ± 137 modified · - 5 deleted + Added ± Modified
- Deleted |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.
(cherry picked from commit 0c4ca17)
Co-authored-by: Itamar Oren itamarost@gmail.com
Co-authored-by: Petr Viktorin encukou@gmail.com