Log message for revision 41698:
        - Collector #2019: removed validateValue() from cAccessControl (already
          removed in former Zope versions from the AccessControl Python
          implementation)
  

Changed:
  U   Zope/branches/2.9/doc/CHANGES.txt
  U   Zope/branches/2.9/lib/python/AccessControl/cAccessControl.c

-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt   2006-02-19 12:20:27 UTC (rev 41697)
+++ Zope/branches/2.9/doc/CHANGES.txt   2006-02-19 12:21:40 UTC (rev 41698)
@@ -18,6 +18,10 @@
 
     Bugs fixed
 
+      - Collector #2019: removed validateValue() from cAccessControl (already
+        removed in former Zope versions from the AccessControl Python
+        implementation)
+
       - Collector #1991: ZPublisher did not deal properly with a trailing
         %20 in the URL
 

Modified: Zope/branches/2.9/lib/python/AccessControl/cAccessControl.c
===================================================================
--- Zope/branches/2.9/lib/python/AccessControl/cAccessControl.c 2006-02-19 
12:20:27 UTC (rev 41697)
+++ Zope/branches/2.9/lib/python/AccessControl/cAccessControl.c 2006-02-19 
12:21:40 UTC (rev 41698)
@@ -365,8 +365,6 @@
 
 static PyObject *SecurityManager_validate(SecurityManager *self, 
                                           PyObject *args);
-static PyObject *SecurityManager_validateValue(SecurityManager *self,
-                                               PyObject *args);
 static PyObject *SecurityManager_DTMLValidate(SecurityManager *self,
                                               PyObject *args);
 static PyObject *SecurityManager_checkPermission(SecurityManager *self, 
@@ -470,11 +468,6 @@
                METH_VARARGS,
                ""
        },
-       {"validateValue",
-               (PyCFunction)SecurityManager_validateValue,
-               METH_VARARGS,
-               ""
-       },
        {"checkPermission",
                (PyCFunction)SecurityManager_checkPermission,
                METH_VARARGS,
@@ -1328,23 +1321,6 @@
 }
 
 static PyObject *
-SecurityManager_validateValue(SecurityManager *self, PyObject *args)
-{
-  PyObject *value=Py_None, *roles=NULL;
-  
-  if (unpacktuple2(args, "validateValue", 1, &value, &roles) < 0) return NULL;
-          
-  CHECK_SECURITY_MANAGER_STATE(self, NULL);
-  GET_SECURITY_MANAGER_VALIDATE(self, NULL);
-  
-  if (roles==NULL) 
-    return callfunction5(self->validate, 
-                         Py_None, Py_None, Py_None, value, self->context);
-  return callfunction6(self->validate, 
-                       Py_None, Py_None, Py_None, value, self->context, roles);
-}
-
-static PyObject *
 SecurityManager_DTMLValidate(SecurityManager *self, PyObject *args)
 {
   PyObject *accessed=Py_None, *container=Py_None, *name=Py_None, 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to