[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
cAccessControl.c:1.21.4.1
Jim Fulton
cvs-admin at zope.org
Sat Nov 15 07:11:02 EST 2003
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv23160/lib/python/AccessControl
Modified Files:
Tag: zodb33-devel-branch
cAccessControl.c
Log Message:
Fixed a bug in defining the getattribute slot.
=== Zope/lib/python/AccessControl/cAccessControl.c 1.21 => 1.21.4.1 ===
--- Zope/lib/python/AccessControl/cAccessControl.c:1.21 Thu Sep 11 12:00:42 2003
+++ Zope/lib/python/AccessControl/cAccessControl.c Sat Nov 15 07:10:59 2003
@@ -569,9 +569,6 @@
METHOD_CHAIN(PermissionRole_methods), /* methods */
EXTENSIONCLASS_BINDABLE_FLAG/*|
EXTENSIONCLASS_INSTDICT_FLAG*/, /* flags */
- NULL, /* Class dict */
- NULL, /* bases */
- NULL, /* reserved */
};
static char imPermissionRole__doc__[] = "imPermissionRole C implementation";
@@ -2068,13 +2065,8 @@
if (ZopeSecurityPolicy_setup() < 0) return;
- ZopeSecurityPolicyType.tp_getattro =
- (getattrofunc) PyExtensionClassCAPI->getattro;
- ExtensionClassGetattro= PyExtensionClassCAPI->getattro;
-
- imPermissionRoleType.tp_getattro =
- (getattrofunc) PyExtensionClassCAPI->getattro;
+ ExtensionClassGetattro= Py_FindAttr;
module = Py_InitModule3("cAccessControl",
cAccessControl_methods,
More information about the Zope-Checkins
mailing list