Re: [IronPython] [AVG SPAM] inheriting from base generic type

2008-03-19 Thread Steve Holden
Miha: I understand that WSGI is available over IIS, so that would be one way to run Django. I'm too much of a noob in that environment to say whether it's been done yet, and if so by whom. regards Steve Miha Valencic wrote: Ahh, thanks for the answer. Quite a few issues to address I see.

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Jeff Hardy
On Tue, Mar 18, 2008 at 9:49 PM, Dino Viehland [EMAIL PROTECTED] wrote: Evaling __builtins__ should work (or import __builtin__ and then eval that). Evaluate, not Execute :). Thanks, Dino. The code, for anyone else who's interested, is: private static object MakePythonFile(ScriptEngine engine,

Re: [IronPython] [AVG SPAM] inheriting from base generic type

2008-03-19 Thread Jeff Hardy
Shameless plug: NWSGI (http://codeplex.com/NWSGI) will use IronPython to run WSGI apps on IIS. It still needs a bit of work (and I'm still in the process of updating it for B1) and a lot of documentation, but it works for some simple cases. If Dino can get Django working on IronPython, I'd be

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Curt Hagenlocher
On Mon, Mar 17, 2008 at 5:26 PM, Dino Viehland [EMAIL PROTECTED] wrote: CodeContext isn't actually internal but it's also not available to you via the hosting APIs. Does this mean that we shouldn't be creating CodeContexts? I'm using the class

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Tarun Kapoor
Curt - at pycon, I heard that you are working on a CLR wrapper project. Under which python code will be have automatically generated wrappers and that way they can called in C# more easily... Can you pls provide some details on how the project is going ? -Sorry this is not related to the thread.

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Curt Hagenlocher
On Wed, Mar 19, 2008 at 12:34 PM, Tarun Kapoor [EMAIL PROTECTED] wrote: Curt - at pycon, I heard that you are working on a CLR wrapper project. Under which python code will be have automatically generated wrappers and that way they can called in C# more easily... Can you pls provide some

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Tarun Kapoor
If you need any help let me know. I am up for it. It is personally going to help me a lot, so I have vested interests in the project :) Is there a project webpage by the way, where I can read etc? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Curt Hagenlocher
On Wed, Mar 19, 2008 at 1:11 PM, Tarun Kapoor [EMAIL PROTECTED] wrote: If you need any help let me know. I am up for it. It is personally going to help me a lot, so I have vested interests in the project :) Is there a project webpage by the way, where I can read etc? It's on CodePlex at

Re: [IronPython] 2.0B1 Hosting: Creating Python Types

2008-03-19 Thread Dino Viehland
In general you shouldn't need access to CodeContext for doing anything - unless you're writing an API which will be consumed by script code. And the hosting APIs don't expose CodeContext instances so it can be challenging to get one without jumping through hoops. Obviously there's a bunch of

[IronPython] subprocess module

2008-03-19 Thread Jeff Hardy
Hi all, Attached is a partial .NET implementation of the subprocess module. There are currently a few limitations: * Popen.communicate doesn't work * Can't redirect stdin except for PIPE * Can't redirect stderr to stdout (i.e. using stderr=subprocess.STDOUT) * Can't redirect to a file descriptor

[IronPython] NWSGI 0.1 released!

2008-03-19 Thread Jeff Hardy
Hi all, I've finally built a binary version of NWSGI, which is much easier to use than building it from source. It also includes a very simple Hello, World! app to get started. I've tested with some simple Paste applications, and CherryPy *almost* works; if you hack around the bugs that it