python / python/cpython

pydoc: prefer the pager command in favor of the specifc less command

Open
#71,502 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.11 stdlib type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

Description

BPO 27315
Nosy @doko42, @vadmium
Files
  • pydoc-use-pager.diff
  • 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 = None
    created_at = <Date 2016-06-14.06:27:53.635>
    labels = ['type-feature', 'library', '3.11']
    title = 'pydoc: prefer the pager command in favor of the specifc less command'
    updated_at = <Date 2021-12-09.18:45:23.515>
    user = 'https://github.com/doko42'
    

    bugs.python.org fields:

    activity = <Date 2021-12-09.18:45:23.515>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-06-14.06:27:53.635>
    creator = 'doko'
    dependencies = []
    files = ['43386']
    hgrepos = []
    issue_num = 27315
    keywords = ['patch']
    message_count = 3.0
    messages = ['268524', '268538', '268540']
    nosy_count = 2.0
    nosy_names = ['doko', 'martin.panter']
    pr_nums = []
    priority = 'low'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue27315'
    versions = ['Python 3.11']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start by reviewing the linked pydoc-use-pager.diff patch and locating the pydoc pager handling in the repository. Confirm how the pager command is selected, then update it to prefer the configured pager rather than a specific less command and verify the relevant pydoc behavior.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    cli
    Issue type
    Feature
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    35/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.