From 6f44d66bc491bad5b8d897a68da68e009e27829d Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 15 Apr 2012 16:08:47 -0400 Subject: 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. --- PC/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PC/config.c') diff --git a/PC/config.c b/PC/config.c index be51b55108..d055f9ae37 100644 --- a/PC/config.c +++ b/PC/config.c @@ -143,7 +143,7 @@ struct _inittab _PyImport_Inittab[] = { {"marshal", PyMarshal_Init}, /* This lives it with import.c */ - {"imp", PyInit_imp}, + {"_imp", PyInit_imp}, /* These entries are here for sys.builtin_module_names */ {"__main__", NULL}, -- cgit v1.2.1