Kaydet (Commit) b8551ae6 authored tarafından Guido van Rossum's avatar Guido van Rossum

Somehow this contained a bogus reference to "exceptions" which caused

"import exceptions" to behave bizarrely.
üst 756aa937
...@@ -50,7 +50,6 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -50,7 +50,6 @@ struct _inittab _PyImport_Inittab[] = {
{"__main__", NULL}, {"__main__", NULL},
{"__builtin__", NULL}, {"__builtin__", NULL},
{"sys", NULL}, {"sys", NULL},
{"exceptions", NULL},
/* This lives in gcmodule.c */ /* This lives in gcmodule.c */
{"gc", initgc}, {"gc", initgc},
...@@ -63,4 +62,3 @@ struct _inittab _PyImport_Inittab[] = { ...@@ -63,4 +62,3 @@ struct _inittab _PyImport_Inittab[] = {
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment