[Zope3-checkins] CVS: Zope3/lib/python/Zope/Schema/tests - testBoolField.py:1.4 testDatetime.py:1.2 testDictField.py:1.4 testField.py:1.4 testFloatField.py:1.4 testIntField.py:1.4 testListField.py:1.4 testStrField.py:1.5 testTupleField.py:1.4

Jim Fulton jim@zope.com
Mon, 11 Nov 2002 17:23:05 -0500


Martijn Faassen wrote:
> Jim Fulton wrote:
> 
>>Log Message:
>>Added TextLine and Line field types to model the common case of
>>single-line text.
>>
> 
> Wouldn't it be better if 'Line' actually was TextLine and 
> the Line field was called 'BytesLine' or something like that?
> This will encourage users to use unicode strings, not 8-bit ones.

I think TextLine and BytesLine would be OK.

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org