Re: [IronPython] Hosting question

2006-07-28 Thread Slide
On 7/27/06, Ryan Dawson <[EMAIL PROTECTED]> wrote: > Hmm, I suspect this has something to do with your handling of the stream. > Below is a little pure IronPython snippet that I'm using to test. > > If you'd like to post your code for PythonOutputStream I'd be happy to take a > look. Hope this

Re: [IronPython] Hosting question

2006-07-27 Thread Ryan Dawson
Output when run: Writing "3" Writing " " Final text = "3 " -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Slide Sent: Thursday, July 27, 2006 2:47 PM To: Discussion of IronPython Subject: Re: [IronPython] Hosting question

Re: [IronPython] Hosting question

2006-07-27 Thread Slide
On 7/27/06, Ryan Dawson <[EMAIL PROTECTED]> wrote: > Right, the Evaluate* methods are just for expressions. > > Locally, I'm not seeing extra new lines being appended to the end of output. > That's not to say we don't have a bug here, we might. Can you provide some > more information? > > This

Re: [IronPython] Hosting question

2006-07-27 Thread Ryan Dawson
We should be writing "3"+Environment.NewLine. How are you reading from the memory stream? Thanks, -Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Slide Sent: Thursday, July 27, 2006 7:17 AM To: Discussion of IronPython Subject: Re:

Re: [IronPython] Hosting question

2006-07-27 Thread Slide
ine.EvaluateAs methods? > > Martin > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Slide > Sent: Wednesday, July 26, 2006 7:32 AM > To: Discussion of IronPython > Subject: [IronPython] Hosting question > > I have b

Re: [IronPython] Hosting question

2006-07-27 Thread Martin Maly
: [IronPython] Hosting question I have been playing around with embedding IronPython into an application to provide scripting support for my .NET application. One thing that I have noticed is that to get the output from the interpreter you have to use EvalToConsole. So to capture the input, I have to use

[IronPython] Hosting question

2006-07-26 Thread Slide
I have been playing around with embedding IronPython into an application to provide scripting support for my .NET application. One thing that I have noticed is that to get the output from the interpreter you have to use EvalToConsole. So to capture the input, I have to use SetStandardOut to some me