[Zodb-checkins] CVS: Zope/lib/Components/ExtensionClass/src - Acquisition.c:1.60 ComputedAttribute.c:1.8 MethodObject.c:1.9 Missing.c:1.15 Record.c:1.18 Sync.c:NONE

Jeremy Hylton jeremy@zope.com
Wed, 13 Nov 2002 12:45:55 -0500


Update of /cvs-repository/Zope/lib/Components/ExtensionClass/src
In directory cvs.zope.org:/tmp/cvs-serv14208/Components/ExtensionClass/src

Modified Files:
	Acquisition.c ComputedAttribute.c MethodObject.c Missing.c 
	Record.c 
Removed Files:
	Sync.c 
Log Message:
Remove unused Sync module.
Remove unnecessary Py_FatalError() calls on failed module import.





=== Zope/lib/Components/ExtensionClass/src/Acquisition.c 1.59 => 1.60 ===
--- Zope/lib/Components/ExtensionClass/src/Acquisition.c:1.59	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/Acquisition.c	Wed Nov 13 12:45:53 2002
@@ -1542,6 +1542,4 @@
   api = PyCObject_FromVoidPtr(&AcquisitionCAPI, NULL);
   PyDict_SetItemString(d, "AcquisitionCAPI", api);
   Py_DECREF(api);
-
-  CHECK_FOR_ERRORS("can't initialize module Acquisition");
 }


=== Zope/lib/Components/ExtensionClass/src/ComputedAttribute.c 1.7 => 1.8 ===
--- Zope/lib/Components/ExtensionClass/src/ComputedAttribute.c:1.7	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/ComputedAttribute.c	Wed Nov 13 12:45:53 2002
@@ -117,5 +117,4 @@
 
   d = PyModule_GetDict(m);
   PyExtensionClass_Export(d,"ComputedAttribute",ComputedAttributeType);
-  CHECK_FOR_ERRORS("can't initialize module Acquisition");
 }


=== Zope/lib/Components/ExtensionClass/src/MethodObject.c 1.8 => 1.9 ===
--- Zope/lib/Components/ExtensionClass/src/MethodObject.c:1.8	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/MethodObject.c	Wed Nov 13 12:45:53 2002
@@ -54,8 +54,5 @@
 
   d = PyModule_GetDict(m);
   PyExtensionClass_Export(d,"Method",MethodType);
-
-  /* Check for errors */
-  CHECK_FOR_ERRORS("can't initialize module MethodObject");
 }
 


=== Zope/lib/Components/ExtensionClass/src/Missing.c 1.14 => 1.15 ===
--- Zope/lib/Components/ExtensionClass/src/Missing.c:1.14	Tue Nov 12 15:06:00 2002
+++ Zope/lib/Components/ExtensionClass/src/Missing.c	Wed Nov 13 12:45:53 2002
@@ -292,16 +292,16 @@
   PyDict_SetItemString(d, "Value", theValue);
   PyDict_SetItemString(d, "V", theValue); 
   PyDict_SetItemString(d, "MV", theValue); 
-	
-  /* Check for errors */
-  if (PyErr_Occurred())
-    Py_FatalError("can't initialize module Missing");
 }
 
 /*****************************************************************************
 Revision Log:
 
   $Log$
+  Revision 1.15  2002/11/13 17:45:53  jeremy
+  Remove unused Sync module.
+  Remove unnecessary Py_FatalError() calls on failed module import.
+
   Revision 1.14  2002/11/12 20:06:00  jeremy
   Remove bogus include.
 


=== Zope/lib/Components/ExtensionClass/src/Record.c 1.17 => 1.18 ===
--- Zope/lib/Components/ExtensionClass/src/Record.c:1.17	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/Record.c	Wed Nov 13 12:45:53 2002
@@ -548,7 +548,4 @@
   d = PyModule_GetDict(m);
 
   PyExtensionClass_Export(d,"Record",RecordType);
-
-  /* Check for errors */
-  if (PyErr_Occurred()) Py_FatalError("can't initialize module Record");
 }

=== Removed File Zope/lib/Components/ExtensionClass/src/Sync.c ===