[IronPython] .NET can see Python classes?

John J Lee jjl at pobox.com
Sun Aug 5 10:53:48 PDT 2007


On Sun, 5 Aug 2007, Curt Hagenlocher wrote:
> On 8/4/07, Darren Govoni <darren at ontrenet.com> wrote:
[...]
> construction in ways that CLR classes are not.  In order to expose a Python
> class directly to the CLR, it would have to be "frozen" in some manner, and

A metaclass could achieve that.


> you might prefer to be able to specify the types of the parameters instead
> of dealing with everything as "object".  This would require some sort of
> non-Python syntax to accomplish.  Fortunately, there already is such a

Maybe in the future this will be used?

http://www.python.org/dev/peps/pep-3107/


John



More information about the Users mailing list