]> granicus.if.org Git - python/commitdiff
Somehow this contained a bogus reference to "exceptions" which caused
authorGuido van Rossum <guido@python.org>
Sat, 7 Apr 2007 03:14:46 +0000 (03:14 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 7 Apr 2007 03:14:46 +0000 (03:14 +0000)
"import exceptions" to behave bizarrely.

Modules/config.c.in

index 8c25eea2e94a17bf0b3415942e2728c365fd4589..e9c54a9bdbe8762a521bdd4cf463c9a02bdfea8a 100644 (file)
@@ -50,7 +50,6 @@ struct _inittab _PyImport_Inittab[] = {
        {"__main__", NULL},
        {"__builtin__", NULL},
        {"sys", NULL},
-       {"exceptions", NULL},
 
        /* This lives in gcmodule.c */
        {"gc", initgc},
@@ -63,4 +62,3 @@ struct _inittab _PyImport_Inittab[] = {
 #ifdef __cplusplus
 }
 #endif
-