[Zope3-Users] Time for a Decimal field type in zope.schema?

Adam Summers adam at 4js.com.au
Fri Apr 27 08:37:17 EDT 2007


Hi,

Did the inclusion of Darryl's code ever get off the ground? I can't find
a Decimal in zope.schema in Zope3.3.1 ...

Regards,
Adam

Marius Gedminas wrote:
> On Thu, 31 Aug 2006 20:29:49 +0700 Darryl Cousins
> <darryl at darrylcousins.net.nz> wrote:
>   
>> On Thu, 2006-08-31 at 15:07 +0300, Marius Gedminas wrote:
>>     
>>> I am going to work on this today.
>>>       
>> For what it may be worth, a Decimal field:
>>
>> Code:
>> http://projects.treefernwebservices.co.nz/tfws.org.nz/file/trunk/src/tfws/field/field.py
>> Doctest:
>> http://www.tfws.org.nz/tfws.field.README.html
>>     
>
> Looks nice.  Would you consider contributing it for the inclusion into the
> Zope 3 core?  (I see that it is already licenced under the ZPL, but I do
> not think I can just commit it into the Zope 3 repository under a different
> name.)
>
> I am attaching the diff showing my current working version, which mirrors
> the existing zope.schema.Float field more closely.  As far as I can tell
> your field/widget is better.  The only thing I do not see is a registration
> for a IDisplayWidget.
>
> Marius Gedminas
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users




More information about the Zope3-users mailing list