Python 2.0 is not supposed to use string exceptions in the standard library
& extensions, so create exceptions in extension modules using the
PyErr_NewException() API.
diff --git a/Modules/almodule.c b/Modules/almodule.c
index 13c9ebc..453a416 100644
--- a/Modules/almodule.c
+++ b/Modules/almodule.c
@@ -2195,7 +2195,7 @@
/* Add some symbolic constants to the module */
d = PyModule_GetDict(m);
- ErrorObject = PyString_FromString("al.error");
+ ErrorObject = PyErr_NewException("al.error", NULL, NULL);
PyDict_SetItemString(d, "error", ErrorObject);
/* XXXX Add constants here */