[Patches] [ python-Patches-549901 ] use readline in pydoc.help if available

noreply@sourceforge.net noreply@sourceforge.net
Sun, 13 Oct 2002 07:13:16 -0700


Patches item #549901, was opened at 2002-04-28 23:03
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=549901&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeremy Yallop (yallop)
Assigned to: Nobody/Anonymous (nobody)
Summary: use readline in pydoc.help if available

Initial Comment:
Interactive help (via pydoc.interact in 2.1 onwards)
doesn't use GNU readline.  This is easily amended by
using raw_input() instead of input.readline().  The
patch assumes that Helper.input is sys.stdin when
Helper.interact() is called but can be fixed trivially
if this assumption is invalid..

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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-13 16:13

Message:
Logged In: YES 
user_id=21627

Jeremy, are you willing to revise your patch, considering
Guido's comment?

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-07 14:30

Message:
Logged In: YES 
user_id=6380

I like the idea, but not the execution. It should only use
raw_input when self.input is sys.stdin.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=549901&group_id=5470