diff options
author | Brett Cannon <brett@python.org> | 2012-04-27 18:01:58 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-04-27 18:01:58 (GMT) |
commit | ce418b448f431f2e62f0517f337f5b6762f4ae45 (patch) | |
tree | ec7424354c7da9d2d19419d7619bbf1607915308 /PC/config.c | |
parent | 3c6ea1c14dc7a3eb67d46f96b3acdb83586f42ae (diff) | |
download | cpython-ce418b448f431f2e62f0517f337f5b6762f4ae45.zip cpython-ce418b448f431f2e62f0517f337f5b6762f4ae45.tar.gz cpython-ce418b448f431f2e62f0517f337f5b6762f4ae45.tar.bz2 |
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/config.c')
-rw-r--r-- | PC/config.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/PC/config.c b/PC/config.c index 2d2141d..57b5073 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}, |