[IronPython] .Net attributes/decorators

Hank Fay hank at prosysplus.com
Tue May 18 20:10:59 CEST 2010


In reviewing the discussion of .Net decorators in the list (thank you Google
Groups), I did not come across a discussion of what I saw as the central
issue: is IronPython to be a Superset of Python (every Python program will
run in IronPython, not every IronPython program will run in Python), or is
IronPython to be an equivalent set (every Python program will run in IPy,
and every IPy will run in Python).

Has there been a discernment on this issue?

For me, coming from a non-Python world, it makes sense to view IPy as a
superset of Python.  This perspective would, e.g., allow the use of .Net
decorators on classes (which in turn would facilitate returning .Net
objects).  I've read about the ways of using __clrtype__ to do this in a
Pythonic manner.  My interest is in simplicity and clarity in my
programs, rather than maintaining two-way compatibility (which I could not
port to Python, in any case, for a .Net program using .Net features).

thanks,

Hank Fay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100518/2cbcf94e/attachment.html>


More information about the Ironpython-users mailing list