[Zope-Checkins] CVS: Zope/lib/Components/ExtensionClass/src - Acquisition.c:1.59.8.1 ComputedAttribute.c:1.7.8.1 ExtensionClass.c:1.56.8.9 MethodObject.c:1.8.8.1 Missing.c:1.13.8.1 MultiMapping.c:1.11.8.1 Record.c:1.17.8.1 Sync.c:NONE

Chris McDonough chrism@zope.com
Sun, 24 Nov 2002 19:10:55 -0500


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

Modified Files:
      Tag: chrism-install-branch
	Acquisition.c ComputedAttribute.c ExtensionClass.c 
	MethodObject.c Missing.c MultiMapping.c Record.c 
Removed Files:
      Tag: chrism-install-branch
	Sync.c 
Log Message:
Merge with HEAD.


=== Zope/lib/Components/ExtensionClass/src/Acquisition.c 1.59 => 1.59.8.1 ===
--- Zope/lib/Components/ExtensionClass/src/Acquisition.c:1.59	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/Acquisition.c	Sun Nov 24 19:10:52 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.7.8.1 ===
--- Zope/lib/Components/ExtensionClass/src/ComputedAttribute.c:1.7	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/ComputedAttribute.c	Sun Nov 24 19:10:52 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/ExtensionClass.c 1.56.8.8 => 1.56.8.9 ===
--- Zope/lib/Components/ExtensionClass/src/ExtensionClass.c:1.56.8.8	Sat Oct 26 15:51:35 2002
+++ Zope/lib/Components/ExtensionClass/src/ExtensionClass.c	Sun Nov 24 19:10:52 2002
@@ -24,7 +24,6 @@
 "$Id$\n"
 ;
 
-#include <stdio.h>
 #include "ExtensionClass.h"
 
 static void


=== Zope/lib/Components/ExtensionClass/src/MethodObject.c 1.8 => 1.8.8.1 ===
--- Zope/lib/Components/ExtensionClass/src/MethodObject.c:1.8	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/MethodObject.c	Sun Nov 24 19:10:52 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.13 => 1.13.8.1 ===
--- Zope/lib/Components/ExtensionClass/src/Missing.c:1.13	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/Missing.c	Sun Nov 24 19:10:52 2002
@@ -17,7 +17,6 @@
 "\n$Id$"
 ;
 
-#include <string.h>
 #include "ExtensionClass.h"
 
 /* Declarations for objects of type Missing */
@@ -293,59 +292,5 @@
   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.13  2002/06/10 22:48:46  jeremy
-  Update ExtensionClass to ZPL 2.0.
-
-  Revision 1.12  2002/01/25 15:34:06  gvanrossum
-  Get rid of __version__, as Jim recommends.  Use $ from docstring instead.
-
-  Revision 1.11  2001/03/28 14:06:51  jeremy
-  gcc -Wall cleanup
-      - make function decls prototypes
-      - remove unreferenced functions
-
-  Revision 1.10  1999/08/25 20:15:29  jim
-  Made getattr a bit pickler to prevent getting attributes like "%f5.3".
-
-  Revision 1.9  1999/06/10 20:09:47  jim
-  Updated to use new ExtensionClass destructor protocol.
-
-  Revision 1.8  1998/11/17 19:54:33  jim
-  new copyright.
-
-  Revision 1.7  1997/10/03 14:43:27  jim
-  Fixed comparison bug, again :-(
-
-  Revision 1.6  1997/09/23 16:06:03  jim
-  Added MV member.
-
-  Revision 1.5  1997/09/23 15:17:12  jim
-  Added cmp.
-
-  Revision 1.4  1997/09/18 21:01:33  jim
-  Added check to getattr to fail on methods that begin with underscore.
-  Note that Missing really defeats testing from protocols by testing for
-  attributes.
-
-  Revision 1.3  1997/09/17 22:49:35  jim
-  Fixed refcount bug.
-  Added logic so:  Missing.Value.spam() returns Missing.Value.
-  Added logic to make Missing.Value picklable.
-
-  Revision 1.2  1997/07/02 20:19:37  jim
-  Got rid of unused macros and ErrorObject.
-
-  Revision 1.1  1997/07/01 21:36:34  jim
-
-
-*****************************************************************************/


=== Zope/lib/Components/ExtensionClass/src/MultiMapping.c 1.11 => 1.11.8.1 ===
--- Zope/lib/Components/ExtensionClass/src/MultiMapping.c:1.11	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/MultiMapping.c	Sun Nov 24 19:10:52 2002
@@ -12,7 +12,6 @@
 
  ****************************************************************************/
 
-#include "Python.h"
 #include "ExtensionClass.h"
 
 #define UNLESS(E) if(!(E))


=== Zope/lib/Components/ExtensionClass/src/Record.c 1.17 => 1.17.8.1 ===
--- Zope/lib/Components/ExtensionClass/src/Record.c:1.17	Mon Jun 10 18:48:46 2002
+++ Zope/lib/Components/ExtensionClass/src/Record.c	Sun Nov 24 19:10:52 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 ===