This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: use readline in pydoc.help if available
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, loewis, yallop
Priority: normal Keywords: patch

Created on 2002-04-28 21:03 by yallop, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pydoc.patch yallop, 2002-04-28 21:03 Use readline in pydoc.interact
Messages (4)
msg39739 - (view) Author: Jeremy Yallop (yallop) Date: 2002-04-28 21:03
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..
msg39740 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-07 12:30
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.
msg39741 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-10-13 14:13
Logged In: YES 
user_id=21627

Jeremy, are you willing to revise your patch, considering
Guido's comment?
msg39742 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-12-04 10:27
Logged In: YES 
user_id=21627

Rejecting the patch because of lack of activity.
History
Date User Action Args
2022-04-10 16:05:16adminsetgithub: 36515
2002-04-28 21:03:59yallopcreate