Skip to content

Misleading pyrepl warnings when _curses module is missing #135621

Closed

Description

@itamaro

Bug report

Bug description:

If I run 3.14 on Linux without a working _curses extension, I get this misleading warning from pyrepl:

warning: can't use pyrepl: Windows only

I suspect pyrepl is not actually Windows only, and indeed if I fix _curses it works again.

Presumably, a better warning would be

warning: can't use pyrepl: No module named '_curses'

or something like that

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Activity

  1. sobolevn commented on Jun 17, 2025

    @sobolevn
    Member

    Seems related to #131189

  2. added 3 commits that reference this issue on Jul 15, 2025
  3. added a commit that references this issue on Jul 21, 2025
  4. added 2 commits that reference this issue on Jul 21, 2025
  5. added a commit that references this issue on Jul 21, 2025
  6. added
    stdlibStandard Library Python modules in the Lib/ directory
    3.15bugs and security fixes
    on Jul 21, 2025
  7. added a commit that references this issue on Jul 21, 2025
  8. itamaro commented on Jul 22, 2025

    @itamaro
    ContributorAuthor

    Looks like this is done, thanks @ambv !

  9. added 2 commits that reference this issue on Aug 4, 2025
  10. added 2 commits that reference this issue on Aug 19, 2025
  11. added 2 commits that reference this issue on Sep 9, 2025
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

    3.14bugs and security fixes3.15bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions