Erik Enge wrote:
>
> [Petru Paler]
>
> | - how this should be aproached
>
> Couldn't this be implemented by adding more properties to you objects?
> One thing that would be great, though, variable checking :)
Easily done in through-the-web Python Methods. Just use the cast
methods such as int(), float(), str(), list(), tuple(), etc.
Advantages:
- If it can't convert, an exception is thrown.
- Fast.
- Standard.
- Minimal typing. :-)
Shane
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )