Change input() to always prompt to stderr

Aperta
#46,221 29 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@johnslavik ci sta già lavorando.

Dal 14/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

docs
BPO 1927
Nosy @terryjreedy, @jaraco, @ezio-melotti, @merwok, @vadmium, @serhiy-storchaka, @iritkatriel
Files
  • promptOutputFix.patch: A proposed patch to print raw_input prompts to standard out.
  • promptOutputFix3.patch: Fixes the input prompt issue on the Python3 branch.
  • promptOutputFix3.v2.patch
  • promptOutputFix3.v3.patch
  • 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 2008-01-24.20:21:17.610>
    labels = ['interpreter-core', 'type-bug', '3.11']
    title = 'Change input() to always prompt to stderr'
    updated_at = <Date 2022-01-17.18:23:32.143>
    user = 'https://github.com/smontanaro'
    

    bugs.python.org fields:

    activity = <Date 2022-01-17.18:23:32.143>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2008-01-24.20:21:17.610>
    creator = 'skip.montanaro'
    dependencies = []
    files = ['27269', '27270', '41246', '41654']
    hgrepos = []
    issue_num = 1927
    keywords = ['patch']
    message_count = 26.0
    messages = ['61652', '61655', '116936', '154049', '171087', '171088', '177966', '223493', '241693', '246392', '255080', '255779', '255796', '255933', '255955', '258571', '258576', '258578', '259608', '259635', '259636', '259643', '259754', '268543', '410508', '410815']
    nosy_count = 13.0
    nosy_names = ['terry.reedy', 'jaraco', 'ggenellina', 'ezio.melotti', 'eric.araujo', 'mdomingues', 'martin.panter', 'serhiy.storchaka', 'Drekin', 'Daniel.Gonzalez', 'bhuvan', 'Carvell Scott', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1927'
    versions = ['Python 3.11']
    

    Linked PRs
    • gh-146161
    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.