aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/run.py
Commit message (Collapse)AuthorAge
...
* Remove the 2.2 compatibility module boolcheck.py and related codeKurt B. Kaiser2003-06-14
| | | | | | M PyShell.py R boolcheck.py M run.py
* Interrupt module has been folded into the thread moduleKurt B. Kaiser2003-06-13
| | | | | | | Modified Files: run.py Removed Files: interruptmodule.c
* Avoid problem resolving 'localhost'Kurt B. Kaiser2003-06-05
| | | | | | M PyShell.py M rpc.py M run.py
* Modify the remote stack viewer to work in the threaded subprocess.Kurt B. Kaiser2003-06-02
| | | | | M PyShell.py M run.py
* Added a config-main General option to delete sys.exitfunc. The defaultKurt B. Kaiser2003-05-28
| | | | | | | | is not to do that. VPython and student environment support. M PyShell.py M config-main.def M run.py
* 1. Stake Freddy.Kurt B. Kaiser2003-05-24
| | | | | | | | | | | | | e.g. further improve subprocess interrupt, exceptions, and termination. 2. Remove the workarounds in PyShell.py and ScriptBinding.py involving interrupting the subprocess prior to killing it, not necessary anymore. 3. Fix a bug introduced at PyShell Rev 1.66: was getting extra shell menu every time the shell window was recreated. M PyShell.py M ScriptBinding.py M rpc.py M run.py
* Show Freddy the mirrorKurt B. Kaiser2003-05-17
| | | | i.e. improve subprocess exit paths and exeception reporting
* On Windows the subprocess was not exiting during a restart.Kurt B. Kaiser2003-05-14
| | | | | | | | | | | This bug, henceforth designated Freddy, was due to the mistaken elimination of the KeyboardInterrupt exception at the previous revision. PyShell's unix_terminate hammer was masking the problem on Linux. On W2K the subprocess MainThread was trying to print the exception after the SockThread had ceased to service the socket. The subprocess would then detach and spin when the GUI created the new subprocess. Modified Files: run.py
* 1. RemoteDebugger now runs user code in subprocess MainThreadKurt B. Kaiser2003-05-12
| | | | | | | | | | | 2. run.py: move exception printing to toplevel to allow access from main() 3. Clarification in PyShell.py: when the subprocess is restarted, the debugger GUI is reused with a fresh instance of the subprocess debugger. M PyShell.py M RemoteDebugger.py M run.py
* 1. Implement processing of user code in subprocess MainThread. Pass loopKurt B. Kaiser2003-05-08
| | | | | | | | | | | | is now interruptable on Windows. 2. Tweak signal.signal() wait parameters as called by various methods to improve I/O response, especially on Windows. 3. Debugger is disabled at this check-in pending further development. M NEWS.txt M PyShell.py M rpc.py M run.py
* M PyShell.pyKurt B. Kaiser2003-03-22
| | | | | | | | | | | | | | | | 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.)
* M rpc.pyKurt B. Kaiser2003-03-11
| | | | | | M run.py 1. Clarify that rpc.SocketIO._getresponse() currently blocks on socket. 2. Improve exception handling in subprocess when GUI terminates abruptly.
* SF 695861Kurt B. Kaiser2003-03-03
| | | | | | | Eliminate extra blank line in shell output. Caused by stdout not being flushed upon completion of subprocess' Executive.runcode() when user code ends by outputting an unterminated line, e.g. print "test",
* M rpc.pyKurt B. Kaiser2003-02-27
| | | | | | | | M run.py Move exception formatting out of rpc.py. This allows each end of the link to format and print exceptions how and where it sees fit and makes it easier for threads to display their own exceptions.
* M NEWS.txtKurt B. Kaiser2003-02-17
| | | | | | | | | | | | | | | | | | M PyShell.py M ScriptBinding.py M rpc.py M run.py Clean up the way IDLEfork handles termination of the subprocess, restore ability to interrupt user code in Windows (so long as it's doing terminal I/O). 1. Handle subprocess interrupts in Windows with an RPC message. 2. Run/F5 will restart the subprocess even if user code is running. 3. Restart the subprocess if the link is dropped. 4. Exit IDLE cleanly even during I/O. 4. In rpc.py, remove explicit calls to statelock, let the condition variable handle acquire() and release().
* Update way a subprocess is launched for Mac OS X.Tony Lownds2002-12-20
| | | | | | | | | | Another applet mechanism has been developed for Python on Mac OS X and trying to use the -c "__import__('run').main()" trick is just not working. macosx_main.py is a new file which should be used as the startup file for Mac OS X applet bundles. This startup file understands a -p option, which when seen will start run.main(). When running as an applet, this seems like the best approach.
* M CallTips.py Add support for getting calltip from subprocess,Kurt B. Kaiser2002-10-10
| | | | | | | | | | | | refactor a bit and clean up. M PyShell.py Cosmetic changes, delete blank lines, add # on some blank lines. M rpc.py Add more debugging capability M run.py Add support for getting calltip from subprocess Move import statements
* 1. Revert subprocess environment clearing, will restart subprocessKurt B. Kaiser2002-08-25
| | | | | | | | | | instead. 2. Preserve the Idle client's listening socket for reuse with the fresh subprocess. 3. Remove some unused rpc code, comment out additional unused code. Modified Files: ScriptBinding.py rpc.py run.py
* GvR provided solution to the socket rebinding timeout problem.Kurt B. Kaiser2002-08-05
| | | | | | M PyShell.py M rpc.py M run.py
* Reset the Python execution server environment to its initial value priorKurt B. Kaiser2002-07-28
| | | | | | | to executing Run/F5 from an EditorWindow. M ScriptBinding.py : add call to clear_the_environment() M run.py : implemented Executive.clear_the_environment()
* Reverse the RPC socket connection: Python execution server connects toKurt B. Kaiser2002-07-26
| | | | | | | Idle client and localhost origin of connection is verified by client. M PyShell.py M rpc.py M run.py
* Shutdown subprocess debugger and associated Proxies/Adapters when closingKurt B. Kaiser2002-06-26
| | | | | | | | | | | the Idle debugger. M PyShell.py : Call RemoteDebugger.close_remote_debugger() M RemoteDebugger.py: Add close_remote_debugger(); further polish code used to start the debugger sections. M rpc.py : Add comments on Idlefork methods register(), unregister() comment out unused methods M run.py : Add stop_the_debugger(); polish code
* Polish RemoteDebugger code.Kurt B. Kaiser2002-06-16
| | | | | | Use a repr() on the subprocess side when fetching dict values for stack. The various dict entities are not needed by the debugger GUI, only their representation.
* GvR's rpc patchChui Tey2002-05-26