Bugs item #710373, was opened at 2003-03-26 17:30
Message generated for change (Comment added) made by etrepum
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=710373&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Macintosh
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Just van Rossum (jvr)
Summary: IDE stdin doesn't have readlines
Initial Comment:
This was submitted by email by macrulezatsofthomedotnet. It looks reasonable,
but please have a look too.
SimpleStdin doesn't provide a readlines method
some scripts call sys.stdin.readlines(). the default stdin does not
support this behaviour. I added it by copying and pasting the readlines method
from StringIO, and adapting the indentation to fit. works beautifully: it asks
the user for a line of input repeatedly until the user clicks 'Cancel'. not
perfect UI, but it's something.
----------------------------------------------------------------------
>Comment By: Bob Ippolito (etrepum)
Date: 2006-07-15 13:10
Message:
Logged In: YES
user_id=139309
IDE is deprecated in favor of IDLE.
----------------------------------------------------------------------
Comment By: Just van Rossum (jvr)
Date: 2003-03-27 04:18
Message:
Logged In: YES
user_id=92689
Hm, I find the stdin.readline() emulation already a big pain, and I'm hesitant
to add an even uglier kludge to support readlines(). The IDE is simply not well
suited for stdin-based scripts, they are _much_ better run from the command
line. But: an actual patch might still make it in...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=710373&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com