Skip to content

Misleading pyrepl warnings when _curses module is missing #135621

@itamaro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixesstdlibPython modules in the Lib dirtopic-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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy