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/pcremodule.c b/Modules/pcremodule.c
index 901f674..6fb2d07 100644
--- a/Modules/pcremodule.c
+++ b/Modules/pcremodule.c
@@ -654,7 +654,7 @@
 
 	/* Add some symbolic constants to the module */
 	d = PyModule_GetDict(m);
-	ErrorObject = PyString_FromString("pcre.error");
+	ErrorObject = PyErr_NewException("pcre.error", NULL, NULL);
 	PyDict_SetItemString(d, "error", ErrorObject);
 
 	/* Insert the flags */