[Idle-dev] [ idlefork-Bugs-695861 ] Unnecessary blank line triggered by continuation in Shell

SourceForge.net noreply@sourceforge.net
Sun, 02 Mar 2003 04:51:38 -0800


Bugs item #695861, was opened at 2003-03-01 22:40
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=695861&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Harris (edcdave)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unnecessary blank line triggered by continuation in Shell

Initial Comment:
Windows XP, IDLEfork 0.9a2, Python 2.2.2

The following interactive session generates an 
unexpected blank line:

>>> word = 'letters'
>>> for c in word: print c,
                        # continuation line, pressed Enter
l e t t e r s
>>> 'h' in word
                       # unexpected blank line
0
>>> 'e' in word
1
>>>


IDLE 0.8 does not generate the unexpected blank line. 
The behavior seems to be triggered by a prior need for a 
continuation line.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-03-02 07:51

Message:
Logged In: YES 
user_id=6380

It's not a continuation line. More likely it's that the
subprocess where your code runs has an unterminated output
line for which both it and IDLE's stdout provide an extra
newline at some later point.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=695861&group_id=9579