[IronPython] Ironpython attribute validation
abrahams84 at gmail.com
Mon Jun 7 11:06:31 PDT 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>
> > is there any other module similar to Traits in IronPython which I can use
> > 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
> - Jeff
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users