Re: [Python-Dev] PEP 553: Built-in debug()

2017年9月06日 15:48:07 -0700

On Sep 6, 2017, at 14:59, Terry Reedy <[email protected]> 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?
Cheers,
-Barry

Attachment: signature.asc
Description: Message signed with OpenPGP

_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to