[Zope-dev] Python 2.6: 'with' in Interfaces

Sidnei da Silva sidnei at enfoldsystems.com
Tue Oct 7 23:35:39 EDT 2008


Trying to run some tests with Python 2.6 I stumbled on a problem that
I need help with: an interface that has an attribute named 'with'.

The interface in question is defined in zope.app.component.back35:

class IAdapterRegistration(IComponentRegistration):
...
    with = schema.Tuple(
        title = _("With interfaces"),
...

Any suggestions on how to fix this one?

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the Zope-Dev mailing list