[Zope3-checkins] CVS: Zope3/src/zope/configuration - fields.py:1.20
Gary Poster
gary at zope.com
Thu May 6 12:14:20 EDT 2004
Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv9758/src/zope/configuration
Modified Files:
fields.py
Log Message:
Convert the field collection behavior as described in
http://mail.zope.org/pipermail/zope3-dev/2004-May/010797.html
The Sequence field is removed. As I spoke with Stephan, it may be acceptable to add the Sequence field back in if it actually means something. Sequence did mean it was iterable but container access API was not described. It should be described. IPythonSequence might describe this API. A Sequence widget should require specification of the factory.
Set now specifies a sets.Set.
IChoiceSequence was removed.
=== Zope3/src/zope/configuration/fields.py 1.19 => 1.20 ===
--- Zope3/src/zope/configuration/fields.py:1.19 Sun Apr 11 06:35:00 2004
+++ Zope3/src/zope/configuration/fields.py Thu May 6 12:13:49 2004
@@ -141,8 +141,8 @@
self.validate(value)
return value
-class Tokens(schema.Sequence):
- """A sequence that can be read from a space-separated string
+class Tokens(schema.List):
+ """A list that can be read from a space-separated string
Consider GlobalObject tokens:
More information about the Zope3-Checkins
mailing list