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. added
    type-bug
    topic-repl
    needs backport to 3.14
    on Jun 17, 2025
  2. sobolevn commented on Jun 17, 2025

    @sobolevn
    Member

    Seems related to #131189

  3. added
    3.14
    and removed
    needs backport to 3.14
    on Jun 18, 2025
  4. added 3 commits that reference this issue on Jul 15, 2025
  5. added a commit that references this issue on Jul 21, 2025
  6. added 2 commits that reference this issue on Jul 21, 2025
  7. added a commit that references this issue on Jul 21, 2025
  8. added
    stdlib
    3.15
    on Jul 21, 2025
  9. added a commit that references this issue on Jul 21, 2025
  10. itamaro commented on Jul 22, 2025

    @itamaro
    ContributorAuthor

    Looks like this is done, thanks @ambv !

  11. added 2 commits that reference this issue on Aug 4, 2025
  12. added 2 commits that reference this issue on Aug 19, 2025
  13. 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.143.15stdlibtopic-repltype-bug

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions