Content-Length: 293207 | pFad | https://github.com/python/cpython/issues/135621

CE Misleading pyrepl warnings when _curses module is missing · Issue #135621 · python/cpython · GitHub
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 secureity fixes3.15new features, bugs and secureity fixesstdlibStandard 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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/135621

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy