Re: [IronPython] Expression printing in interactive mode

2009-04-29 Thread Dino Viehland
ironpython.com] On Behalf Of Dino Viehland > Sent: Wednesday, April 29, 2009 11:13 AM > To: Discussion of IronPython > Subject: Re: [IronPython] Expression printing in interactive mode > > There was some internal work going on w/ running a remote console > and it looks like this

Re: [IronPython] Expression printing in interactive mode

2009-04-29 Thread Seo Sanghyeon
2009/4/30 Dino Viehland : > Looking at the code thought I'm guessing this is totally broken on > Unix because in ReadStatement we append a newline, with a > wonderful comment there: > >                // Note that this does not use Environment.NewLine because > some languages (eg. Python) only >  

Re: [IronPython] Expression printing in interactive mode

2009-04-29 Thread Dino Viehland
ilto:users- > boun...@lists.ironpython.com] On Behalf Of Seo Sanghyeon > Sent: Wednesday, April 29, 2009 10:48 AM > To: Discussion of IronPython > Subject: [IronPython] Expression printing in interactive mode > > In changeset 42603, a change was made to > IronPytho

[IronPython] Expression printing in interactive mode

2009-04-29 Thread Seo Sanghyeon
In changeset 42603, a change was made to IronPython.Hosting.PythonCommandLine.RunOneInteraction, - SourceUnit su = Language.CreateSnippet(s, "", SourceCodeKind.InteractiveCode); + SourceUnit su = Language.CreateSnippet(s, "", (s.Contains(Environment.NewLine))? SourceCodeKind.Statements : SourceCod