[IronPython] Ironpython attribute validation

Ashley Abraham abrahams84 at gmail.com
Mon Jun 7 20:06:31 CEST 2010

Thanks, I'll try your suggestion.


On Mon, Jun 7, 2010 at 1:04 PM, Jeff Hardy <jdhardy at gmail.com> wrote:

> On Mon, Jun 7, 2010 at 11:33 AM, Ashley Abraham <abrahams84 at gmail.com>
> wrote:
> > is there any other module similar to Traits in IronPython which I can use
> to
> > explicitly declare the attributes and to do type validation??
> It looks like Traits itself isn't dependent on zipimport (it depends
> on setuptools, which requires zipimport), so you should be able to get
> away with putting an empty zipimport.py file somewhere on sys.path.
> I've done this before to get things setuptools stuff working; as long
> as it doesn't try to *use* zipimport, you're OK.
> I don't know of anything else that works the same, but it should be
> possible to make it work, if you can get IronClad to handle the C
> portion of it (they don't have a pure Python version, *grumble
> grumble*).
> - 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/3a12e461/attachment.html>

More information about the Ironpython-users mailing list