[Patches] [ python-Patches-550192 ] Set softspace to 0 in raw_input()

noreply@sourceforge.net noreply@sourceforge.net
Thu, 02 May 2002 23:04:08 -0700


Patches item #550192, was opened at 2002-04-29 16: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: 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: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=550192&group_id=5470