[Zope3-checkins] CVS: Zope3/src/zope/schema/tests - test_datetime.py:1.3 test_floatfield.py:1.3 test_intfield.py:1.3 test_strfield.py:1.3
Martijn Faassen
faassen@vet.uu.nl
Tue, 15 Apr 2003 11:21:23 +0200
Fred L. Drake, Jr. wrote:
> - Introduce new field types: IEnumeratedTextLine, IEnumeratedInt,
> IEnumeratedFloat, IEnumeratedDatetime; these should be used any time
> the allowed_values option for a field is used, instead of requiring
> the base field type to support it.
Did I miss the discussion about this change? It makes it harder to switch from
a field where value entry is restricted to one where it is unrestricted.
'allowed_values' can certainly be seen as a constraint on a field instead of
as an entirely new field type. I'd like to get a bit more detail about what
motivated this change.
Regards,
Martijn