[Patches] [ python-Patches-550192 ] Set softspace to 0 in raw_input()
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 28 Jul 2002 03:36:38 -0700
Patches item #550192, was opened at 2002-04-29 16:39
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=550192&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
>Assigned to: Martin v. Löwis (loewis)
Summary: Set softspace to 0 in raw_input()
Initial Comment:
Setting softspace to 0 in raw_input() makes it
behave as expected when a "print 'something',"
precedes the raw_input() call, with or without a
prompt argument.
----------------------------------------------------------------------
Comment By: Gustavo Niemeyer (niemeyer)
Date: 2002-05-03 21:07
Message:
Logged In: YES
user_id=7887
Ok.. now it outputs an extra space if softspace was true,
as expected after a "print 'something',".
Thanks again.
----------------------------------------------------------------------
Comment By: Gustavo Niemeyer (niemeyer)
Date: 2002-05-03 20:45
Message:
Logged In: YES
user_id=7887
Please, don't apply it yet. I'm testing some aspects of
the patch.
----------------------------------------------------------------------
Comment By: Gustavo Niemeyer (niemeyer)
Date: 2002-05-03 19:53
Message:
Logged In: YES
user_id=7887
Sure! Here's a fixed patch including those cleanups.
Thank you!
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-05-03 08:04
Message:
Logged In: YES
user_id=21627
The checking logic for a lost stdout appears to be broken:
it should already check for an exception right when
verifying whether stdout isatty. Can you incorporate such
cleanup in your patch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=550192&group_id=5470