Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pdb checks stdout, instead of stdin for use_rawinput #141615

Description

@gaogaotiantian

Bug report

Bug description:

I had to read it a million times but I'm 99% sure this is a typo:

cpython/Lib/pdb.py

Lines 349 to 350 in ed73c90

if stdout:
self.use_rawinput = 0

I can't believe it's been in our code base for 20 years.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

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/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions