From 5821bc5145437fd68f4ebc9dad01d1192462f60d Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 13 Aug 2001 23:04:56 +0000 Subject: =?UTF-8?q?Py=5FInitialize():=20Apply=20patch=20by=20J=C3=BCrgen?= =?UTF-8?q?=20Hermann=20to=20call=20=20=20=20=20=5FPyImport=5FFixupExtensi?= =?UTF-8?q?on()=20on=20the=20exceptions=20module.=20=20Now=20=20=20=20=20r?= =?UTF-8?q?eload(exceptions)=20acts=20just=20like=20reload(sys)=20instead?= =?UTF-8?q?=20of=20raising=20=20=20=20=20an=20ImportError.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This closes SF bug #422004. --- Python/pythonrun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f5fcaf1..f579f44 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -151,6 +151,7 @@ Py_Initialize(void) /* initialize builtin exceptions */ _PyExc_Init(); + _PyImport_FixupExtension("exceptions", "exceptions"); /* phase 2 of builtins */ _PyImport_FixupExtension("__builtin__", "__builtin__"); -- cgit v0.12