[Patches] [ python-Patches-550192 ] Set softspace to 0 in raw_input()
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 03 May 2002 10:53:59 -0700
Patches item #550192, was opened at 2002-04-29 14:39
You can respond by visiting:
http://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: Nobody/Anonymous (nobody)
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 17: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 06: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:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=550192&group_id=5470