-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Description
Bug report
Bug description:
Not sure if to split this into different issues may be better but anyhow
Trying out the new repl in 3.13.0b3
, some of these maybe are not bugs but the
behavior feels weird:
When using the F1/F2/F3
keys there are these different behaviors:
F3
- pressing it twice toggles between paste/prompt
F2
- Pressing it twice does nothing, q
exits, but ignores whatever was already in
the prompt, and adds a new one without a newline, shifting the prompt rightwards:
F2
+ q multipe times:
➜ python
Python 3.13.0b3 (main, Jun 27 2024, 13:06:51) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> >>> >>> >>> >>> >>> >>> >>>
F2
+ q after having something there already
Python 3.13.0b3 (main, Jun 27 2024, 13:06:51) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> def foo():
... i = 0
... for n in range(10):>>>
F1
- pressing it twice opens a nested help menu, if you do it a few times because you
think it didnt work, you have to q-q-q-quit
Trying on pypy's repl it doesnt seem possible to trigger help()
from within help but
in the 3.13's repl its bound to F1 and keeps working :)
CPython versions tested on:
3.13
Operating systems tested on:
Linux