diff options
| author | Brett Cannon <brett@python.org> | 2012-04-27 14:01:58 -0400 |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2012-04-27 14:01:58 -0400 |
| commit | ce418b448f431f2e62f0517f337f5b6762f4ae45 (patch) | |
| tree | ec7424354c7da9d2d19419d7619bbf1607915308 /PC | |
| parent | 3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae (diff) | |
| download | cpython-git-ce418b448f431f2e62f0517f337f5b6762f4ae45.tar.gz | |
Issue #14605: Stop having implicit entries for sys.meta_path.
ImportWarning is raised if sys.meta_path is found to be empty.
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/config.c | 1 | ||||
| -rw-r--r-- | PC/os2emx/config.c | 1 | ||||
| -rw-r--r-- | PC/os2vacpp/config.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/PC/config.c b/PC/config.c index 2d2141d5f3..57b5073c71 100644 --- a/PC/config.c +++ b/PC/config.c @@ -146,7 +146,6 @@ struct _inittab _PyImport_Inittab[] = { {"_imp", PyInit_imp}, /* These entries are here for sys.builtin_module_names */ - {"__main__", NULL}, {"builtins", NULL}, {"sys", NULL}, {"_warnings", _PyWarnings_Init}, diff --git a/PC/os2emx/config.c b/PC/os2emx/config.c index 76c7ec6390..5879110aa6 100644 --- a/PC/os2emx/config.c +++ b/PC/os2emx/config.c @@ -153,7 +153,6 @@ struct _inittab _PyImport_Inittab[] = { {"_imp", initimp}, /* These entries are here for sys.builtin_module_names */ - {"__main__", NULL}, {"builtins", NULL}, {"sys", NULL}, diff --git a/PC/os2vacpp/config.c b/PC/os2vacpp/config.c index 065343e347..b26b5217da 100644 --- a/PC/os2vacpp/config.c +++ b/PC/os2vacpp/config.c @@ -91,7 +91,6 @@ struct _inittab _PyImport_Inittab[] = { {"_imp", initimp}, /* These entries are here for sys.builtin_module_names */ - {"__main__", NULL}, {"builtins", NULL}, {"sys", NULL}, |
