[Interface-dev] zope.interface: sequence interfaces

Thomas Lotze tl at gocept.com
Thu Jun 23 10:21:42 EDT 2005


Hi,

I'm using the zope.interface package in a project and I found I needed
an interface describing a Python list. So I wrote a couple of sequence
interfaces, somewhat corresponding to the collection of mapping
interfaces in zope.interface.common.mapping.

I think it would be useful to distribute sequence interfaces with
zope.interface. The stuff I came up with is attached to this message;
feel free to change it and include it in the module should you think
this is a good idea.

I've seen that there's sequence interfaces in the Zope3 SVN, but I think 
that my proposal is somewhat more to the point - at least, it's closer 
to the mapping stuff already there.

Thanks for the work on the module and Zope at large!

-- 
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sequence.py
Type: text/x-python
Size: 2845 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/interface-dev/attachments/20050623/a6de04a8/sequence.py


More information about the Interface-dev mailing list