Message8244

Author jeff.allen
Recipients cdleonard, jeff.allen, zyasoft
Date 2014-03-04.09:12:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393924327.39.0.475450079109.issue2089@psf.upfronthosting.co.za>
In-reply-to
Content
I confirm this behaviour. Choosing not to have the fancy console is the work-around:

>dist\bin\jython -Dpython.console= -c "import sys; sys.stdout.write('hello')"
hello
>

I'm pretty sure I broke this. The wrapper I made for the fancy console keeps each unterminated output line, defeating the upstream flush() until you start a read. This is the only way I found to get the line editing JLineConsole to know about the prompt.

As Jim comments, what's needed here is to give my clever wrapper a Closer that will flush the "prompt" you never used.
History
Date User Action Args
2014-03-04 09:12:07jeff.allensetmessageid: <1393924327.39.0.475450079109.issue2089@psf.upfronthosting.co.za>
2014-03-04 09:12:07jeff.allensetrecipients: + jeff.allen, zyasoft, cdleonard
2014-03-04 09:12:07jeff.allenlinkissue2089 messages
2014-03-04 09:12:05jeff.allencreate