summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-06-15 14:35:48 (GMT)
committerGuido van Rossum <guido@python.org>1999-06-15 14:35:48 (GMT)
commit17d53ecd8b8cd4f5680f978fb5503dbba0b0fe4c (patch)
tree2b927a2b7bf69f038479b20537b7d04b91f2ddd8 /Modules
parent42120eaca5468060c11874b8df40c06a4a6f08a3 (diff)
downloadcpython-17d53ecd8b8cd4f5680f978fb5503dbba0b0fe4c.zip
cpython-17d53ecd8b8cd4f5680f978fb5503dbba0b0fe4c.tar.gz
cpython-17d53ecd8b8cd4f5680f978fb5503dbba0b0fe4c.tar.bz2
New version from Jim: don't call Py_FatalError() when initialization fails.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/cStringIO.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/cStringIO.c b/Modules/cStringIO.c
index bc37984..0c4462d 100644
--- a/Modules/cStringIO.c
+++ b/Modules/cStringIO.c
@@ -1,5 +1,5 @@
/*
- * $Id$
+ * cStringIO.c,v 1.29 1999/06/15 14:10:27 jim Exp
*
* Copyright (c) 1996-1998, Digital Creations, Fredericksburg, VA, USA.
* All rights reserved.
@@ -78,7 +78,7 @@ static char cStringIO_module_documentation[] =
"If someone else wants to provide a more complete implementation,\n"
"go for it. :-) \n"
"\n"
-"$Id$\n"
+"cStringIO.c,v 1.29 1999/06/15 14:10:27 jim Exp\n"
;
#include "Python.h"
@@ -658,7 +658,4 @@ initcStringIO() {
/* Maybe make certain warnings go away */
if(0) PycString_IMPORT;
-
- /* Check for errors */
- if (PyErr_Occurred()) Py_FatalError("can't initialize module cStringIO");
}