[Zope3-checkins] CVS: Zope3/src/zope/security - _proxy.c:1.5

Steve Alexander steve@cat-box.net
Thu, 29 May 2003 05:06:37 -0400


Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv30464/src/zope/security

Modified Files:
	_proxy.c 
Log Message:
Wrappers now allow subclasses to supply new methods and other descriptors,
and to override existing slots and methods.



=== Zope3/src/zope/security/_proxy.c 1.4 => 1.5 ===
--- Zope3/src/zope/security/_proxy.c:1.4	Wed May 28 11:49:26 2003
+++ Zope3/src/zope/security/_proxy.c	Thu May 29 05:06:36 2003
@@ -895,7 +895,7 @@
 	SecurityProxyType.ob_type = &PyType_Type;
 	SecurityProxyType.tp_alloc = PyType_GenericAlloc;
 	SecurityProxyType.tp_free = _PyObject_GC_Del;
-	SecurityProxyType.tp_base = ProxyType;
+	SecurityProxyType.tp_base = &ProxyType;
 	if (PyType_Ready(&SecurityProxyType) < 0)
 		return;