[Python-checkins] python/dist/src/Python errors.c,2.82,2.83

mwh at users.sourceforge.net mwh at users.sourceforge.net
Tue Jan 18 16:26:15 CET 2005


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29391

Modified Files:
	errors.c 
Log Message:
-X died some time ago; remove a tiny bit of associated cruft.


Index: errors.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/errors.c,v
retrieving revision 2.82
retrieving revision 2.83
diff -u -d -r2.82 -r2.83
--- errors.c	24 Mar 2004 22:22:11 -0000	2.82
+++ errors.c	18 Jan 2005 15:26:11 -0000	2.83
@@ -535,10 +535,6 @@
 	}
 	if (base == NULL)
 		base = PyExc_Exception;
-	if (!PyClass_Check(base)) {
-		/* Must be using string-based standard exceptions (-X) */
-		return PyString_FromString(name);
-	}
 	if (dict == NULL) {
 		dict = mydict = PyDict_New();
 		if (dict == NULL)



More information about the Python-checkins mailing list