[Python-Dev] PEP 553: Built-in debug()
barry at python.org
Wed Sep 6 18:45:22 EDT 2017
On Sep 6, 2017, at 14:59, Terry Reedy <tjreedy at udel.edu> wrote:
> Currently, the debugger is started in response to a menu seletion in the IDLE process while the python process is idle. One reason for the 'idle' requirement' is because when code is exec-uting, the loop that reads commands, executes them, and sends responses is blocked on the exec call. The IDLE process sets up its debugger window, its ends of the rpc channels, and commands to python process to set up Idb and the other ends of the channels. The challenge would be to initiate setup from the server process and deal with the blocked loop.
Would the environment variable idea in the latest version of the PEP help you here?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 273 bytes
Desc: Message signed with OpenPGP
More information about the Python-Dev