allowNone for formless
Attached patch adds allowNone argument for Typed objects in formless. Tests updated accordingly. Also, boolean values are handled more sensibly (formless's boolean type coerce takes 'True' or 'False' strings instead of making freeform translate). Also added a python enumerate implementation for compatibility with python2.2 since enumerate is used in freeform.py. James
On Feb 13, 2004, at 12:56 PM, James Y Knight wrote:
Attached patch adds allowNone argument for Typed objects in formless. Tests updated accordingly. Also, boolean values are handled more sensibly (formless's boolean type coerce takes 'True' or 'False' strings instead of making freeform translate).
Also added a python enumerate implementation for compatibility with python2.2 since enumerate is used in freeform.py.
Whoops, looks like you forgot the patch ;-) Nevow will have it's own repository shortly, at the earliest by the end of today. dp
participants (2)
-
Donovan Preston
-
James Y Knight