Skip to content

pyrepl.pager: less detection is broken with less >= 706 #161039

Open

Description

@tmzullinger

Bug report

With less >= 706 pydoc uses more due to changes to the less exit status when called without a filename.

This is unexpected and unnecessary. Patch to follow.

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Activity

  1. added a commit that references this issue on Oct 31, 2026
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    topic-replRelated to the interactive shell
    on Nov 1, 2026
  3. added a commit that references this issue on Nov 1, 2026
  4. added a commit that references this issue on Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions