From: Fred Drake Date: Thu, 19 Jul 2001 20:17:15 +0000 (+0000) Subject: Elaborate a comment. X-Git-Tag: v2.2a3~1041 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78bdb9bc46220449fae85fa643e1ccc33c2462e5;p=thirdparty%2FPython%2Fcpython.git Elaborate a comment. --- diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index cc1a44f59a7f..2f2d8b02b2d4 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -2855,7 +2855,10 @@ initparser(void) PyDict_SetItemString(dict, "__version__", PyString_FromString(parser_version_string)); - /* register to support pickling */ + /* Register to support pickling. + * If this fails, the import of this module will fail because an + * exception will be raised here; should we clear the exception? + */ module = PyImport_ImportModule("copy_reg"); if (module != NULL) { PyObject *func, *pickler;