Broken Number Pad on macOS in New Interactive Interpreter in 3.13.0
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Python
- Estrellas
- 77.2k
- Forks
- 35.9k
- Métricas de merge de PR
- Métricas de PR pendientes
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo el comportamiento del teclado numérico en el nuevo intérprete interactivo en macOS con Python 3.13.0 y compáralo con Python 3.12 o anteriores. Traza el manejo de teclas del intérprete en macOS, especialmente el comportamiento de la tecla Clear; se considera terminado cuando los dígitos del teclado numérico funcionan normalmente sin pulsar Clear y el comportamiento existente permanece intacto.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100