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

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

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt  2006-02-19 12:19:09 UTC (rev 41696)
+++ Zope/trunk/doc/CHANGES.txt  2006-02-19 12:20:27 UTC (rev 41697)
@@ -197,6 +197,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/trunk/lib/python/AccessControl/cAccessControl.c
===================================================================
--- Zope/trunk/lib/python/AccessControl/cAccessControl.c        2006-02-19 
12:19:09 UTC (rev 41696)
+++ Zope/trunk/lib/python/AccessControl/cAccessControl.c        2006-02-19 
12:20:27 UTC (rev 41697)
@@ -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,
@@ -1326,23 +1319,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