[IronPython] Ironpython attribute validation

Ashley Abraham abrahams84 at gmail.com
Mon Jun 7 19:33:28 CEST 2010


is there any other module similar to Traits in IronPython which I can use to
explicitly declare the attributes and to do type validation??

Thanks
Ash

On Mon, Jun 7, 2010 at 11:49 AM, Jeff Hardy <jdhardy at gmail.com> wrote:

> On Mon, Jun 7, 2010 at 10:41 AM, Ashley Abraham <abrahams84 at gmail.com>
> wrote:
> > Hi,
> >    In Python I am used to using enthought's Traits to validate attributes
> > and explicitly declare variable types, is there anything similar to that
> in
> > IronPython. Also, when I try to import enthought's traits module (with
> > ironclad) in IronPython I get ImportError: No module named zipimport is
> > there a way around to get around this??? is IronPython compatible with
> > setuptools??
>
> There isn't a zipimport for IronPython, unfortunately. It's also the
> big hurdle preventing setuptools/distribute from fully working (it
> mostly works, if you can avoid zipped eggs). I tried to get it to work
> a long time ago but never had time to finish it.
>
> - Jeff
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100607/b8faa027/attachment.html>


More information about the Ironpython-users mailing list