Broken Number Pad on macOS in New Interactive Interpreter in 3.13.0
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Bug report
Bug description:
When using the new interactive interpreter, digits can no longer be entered using the number pad on a standard full-size Mac keyboard. This did not occur in 3.12 or earlier and is likely not desired behaviour.
Workaround:
Pressing the "clear" button on the keyboard will fix this (acting like a toggle). I suspect this is because the Mac clear key shares a key code with "Num Lock" on Windows, where this is standard behaviour.
This is NOT standard behaviour on macOS, however. MacOS keyboards do not have a "Num Lock", nor do their keyboards have markings for secondary actions as with windows keyboards.
I imagine that very few users would recognize that their number pad is not working in the new Python interpreter because of a mis-applied platform-specific key binding of the "clear" key.
CPython versions tested on:
3.13.0
Operating systems tested on:
macOS
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il comportamento del tastierino numerico nel nuovo interprete interattivo su macOS con Python 3.13.0, confrontandolo con Python 3.12 o versioni precedenti. Traccia la gestione dei tasti dell'interprete su macOS, in particolare il comportamento del tasto Clear; il lavoro è completato quando le cifre del tastierino numerico funzionano normalmente senza premere Clear e il comportamento esistente rimane intatto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100