Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help() with readline support #38355

Closed
hdima mannequin opened this issue Apr 23, 2003 · 4 comments
Closed

help() with readline support #38355

hdima mannequin opened this issue Apr 23, 2003 · 4 comments
Labels
stdlib Python modules in the Lib dir

Comments

@hdima
Copy link
Mannequin

hdima mannequin commented Apr 23, 2003

BPO 726204
Files
  • pydoc.diff: Patch to Lib/pydoc.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2004-08-17.13:24:11.000>
    created_at = <Date 2003-04-23.12:03:10.000>
    labels = ['library']
    title = 'help() with readline support'
    updated_at = <Date 2004-08-17.13:24:11.000>
    user = 'https://bugs.python.org/hdima'

    bugs.python.org fields:

    activity = <Date 2004-08-17.13:24:11.000>
    actor = 'jlgijsbers'
    assignee = 'jlgijsbers'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2003-04-23.12:03:10.000>
    creator = 'hdima'
    dependencies = []
    files = ['5209']
    hgrepos = []
    issue_num = 726204
    keywords = ['patch']
    message_count = 4.0
    messages = ['43469', '43470', '43471', '43472']
    nosy_count = 2.0
    nosy_names = ['jlgijsbers', 'hdima']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue726204'
    versions = ['Python 2.4']

    @hdima
    Copy link
    Mannequin Author

    hdima mannequin commented Apr 23, 2003

    This is a small patch to the Lib/pydoc.py implementing
    command line editing capabilities (and optional
    readline support) for the help() builtin.

    @hdima hdima mannequin closed this as completed Apr 23, 2003
    @hdima hdima mannequin assigned jlgijsbers Apr 23, 2003
    @hdima hdima mannequin added the stdlib Python modules in the Lib dir label Apr 23, 2003
    @hdima hdima mannequin closed this as completed Apr 23, 2003
    @hdima hdima mannequin assigned jlgijsbers Apr 23, 2003
    @hdima hdima mannequin added the stdlib Python modules in the Lib dir label Apr 23, 2003
    @jlgijsbers
    Copy link
    Mannequin

    jlgijsbers mannequin commented Aug 15, 2004

    Logged In: YES
    user_id=469548

    The patch was small, but I've tried to make it even smaller.
    Introducing a subclass seemed unnecessary to me, I just used:

    if self.input is sys.stdin and self.output is self.stdout:

    in getline(). I'll check this in if you don't have any
    problems with my patch.

    @hdima
    Copy link
    Mannequin Author

    hdima mannequin commented Aug 16, 2004

    Logged In: YES
    user_id=388573

    Ok, I think it's reasonable compromise for now. :-)

    @jlgijsbers
    Copy link
    Mannequin

    jlgijsbers mannequin commented Aug 17, 2004

    Logged In: YES
    user_id=469548

    Ok, checked in as rev 1.95 of pydoc.py.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants