[issue41096] Need command to exit PDB interactive shell

2020-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you, now I understand the problem. It is reasonable request, but a new feature can only be added in Python 3.10. -- versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue41096] Need command to exit PDB interactive shell

2020-06-24 Thread Kerrick Staley
Kerrick Staley added the comment: Serhiy: I'm referring to the interactive mode that can be entered by typing "interact" in PDB. Here are reproduction instructions: 1. Run "python3" command. 2. In Python shell, type "import pdb; pdb.set_trace()". 3. In PDB shell, type "interact". Now, in thi

[issue41096] Need command to exit PDB interactive shell

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Both "exit" and "quit" and even just "q" quit the PDB interactive shell. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue41096] Need command to exit PDB interactive shell

2020-06-23 Thread Kerrick Staley
New submission from Kerrick Staley : In PDB, when you use "interact" to enter an interactive shell, the only way to exit that shell is to send an end-of-transmission (Ctrl+D) character. In some environments, such as Jupyter, this is awkward to do. Here is a StackOverflow post where a user enc