Use interactive input even if stdout is redirected

Offen
#69,017 13 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
cli

Rechercherichtung

Start by reviewing the interactive console behavior and the linked dependency, bpo-17620, which concerns console input not using sys.stdin. Reproduce the case where stdout is redirected and determine whether interactive input still works. Done means the interactive console accepts input in that scenario without regressing normal console behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib topic-repl type-bug
BPO 24829
Nosy @rhettinger, @bitdancer, @vadmium, @eryksun
Dependencies
  • bpo-17620: Python interactive console doesn't use sys.stdin for input
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2015-08-08.14:48:56.820>
    labels = ['type-bug', '3.8', '3.9', '3.10']
    title = 'Use interactive input even if stdout is redirected'
    updated_at = <Date 2021-03-15.21:02:22.443>
    user = 'https://bugs.python.org/Drekin'
    

    bugs.python.org fields:

    activity = <Date 2021-03-15.21:02:22.443>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2015-08-08.14:48:56.820>
    creator = 'Drekin'
    dependencies = ['17620']
    files = []
    hgrepos = []
    issue_num = 24829
    keywords = []
    message_count = 12.0
    messages = ['248271', '249098', '249144', '249145', '249148', '249149', '249154', '249157', '249166', '249294', '249454', '249469']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'r.david.murray', 'martin.panter', 'eryksun', 'Drekin']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24829'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.