mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #13959: Rename imp to _imp and add Lib/imp.py and begin
rewriting functionality in pure Python. To start, imp.new_module() has been rewritten in pure Python, put into importlib (privately) and then publicly exposed in imp.
This commit is contained in:
parent
7788838473
commit
6f44d66bc4
10 changed files with 2850 additions and 2814 deletions
|
|
@ -39,7 +39,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
{"marshal", PyMarshal_Init},
|
||||
|
||||
/* This lives in import.c */
|
||||
{"imp", PyInit_imp},
|
||||
{"_imp", PyInit_imp},
|
||||
|
||||
/* This lives in Python/Python-ast.c */
|
||||
{"_ast", PyInit__ast},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue