[Ironpython-users] IronPython 2.7.1 Missing Prompts with -i parameter

Jeff Hardy jdhardy at gmail.com
Thu Dec 8 18:05:49 CET 2011


On Thu, Dec 8, 2011 at 5:28 AM, Daniel Fernandez
<fernandez_dan2 at hotmail.com> wrote:
> Hi All,
>
> I'm running the latest IronPython 2.7.1 and I'm not seeing the prompts with
> the -i parameter. It works without the -i but not luck trying execute a
> script then continuing to interactive mode.
>
> I notice that in the PythonCommandLine the Prompt field has been overridden.
> It tries to get the variable "ps1" if that doesn't exist it returns "". The
> only problem the ps1 variable is not created when executing a file. I just
> wanted to confirm if this is an issue.

There were changes to -i handling in 2.7.1 so it's quite possible. I
did test it, though, so I'm not sure what's going on. Can you open an
issue on Codeplex? I'll take a look when I get a chance.

- Jeff


More information about the Ironpython-users mailing list