Re: [IronPython] determine if running under IP

2008-05-21 Thread Dan Eloff
> Easy=) Check the value of sys.platform which will be "cli" under IronPython. Except if you're running IronPython under silverlight, in which case it will be 'silverlight' You could do: try: import clr IronPython = True except ImportError: IronPython = False Except if you're runnin

Re: [IronPython] Hosting IP2 Beta2 in Mono?

2008-05-21 Thread Dino Viehland
BTW I think the lack of requiring assignment is the same issue as http://lists.ironpython.com/pipermail/users-ironpython.com/2007-October/005842.html. I'll fix the code. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zoltan Varga Sent: Monday, May 19,

[IronPython] New hosting API spec available...

2008-05-21 Thread Dino Viehland
Bill has just updated the DLR hosting API spec over at http://compilerlab.members.winisp.net/ It's available as both doc (http://compilerlab.members.winisp.net/dlr-spec-hosting.doc) or PDF (http://compilerlab.members.winisp.net/dlr-spec-hosting.pdf). There's probably still a few small mismatc

[IronPython] RPyC and IronPython

2008-05-21 Thread Ronnie Maor
I'm trying to use RPyC (http://rpyc.wikispaces.com), which is a great package for "generic remote control" of remote processes. it basically works, except for small changes I needed to make due to outstanding IPy incompatiblities. wanted to let people know in case you also want to use it (it's rea