]> granicus.if.org Git - python/commit
M PyShell.py
authorKurt B. Kaiser <kbk@shore.net>
Sat, 22 Mar 2003 19:40:19 +0000 (19:40 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Sat, 22 Mar 2003 19:40:19 +0000 (19:40 +0000)
commit11c53e2ea7f7d2a2969c98e81c1489c4e72254c4
tree7d39c8ebae64934426779dd7d468ac4688d3e416
parente51529d79a5b575e648bf5e6eef5324c8fb819ba
M PyShell.py
M run.py

1. Move subprocess socket handling to a subthread - "SockThread".
2. In the subprocess, implement a queue and global completion and exit
flags.  Execute code after it is passed through the queue.  (Currently,
user code is executed in SockThread.  The next phase of development will
move the tail of the queue to MainThread.)
3. Implement an RPC message used to shut down the execution server.
4. Improve normal and exception subprocess exits.

(At this checkin a "pass loop" interrupt doesn't work on any platform.  It
will be restored for all platforms once user code execution is moved to
MainThread.)
Lib/idlelib/PyShell.py
Lib/idlelib/run.py