summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
Commit message (Collapse)AuthorAgeFilesLines
...
* SF 695861Kurt B. Kaiser2003-03-031-1/+11
| | | | | | | 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-271-1/+45
| | | | | | | | 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-171-0/+5
| | | | | | | | | | | | | | | | | | 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-201-0/+2
| | | | | | | | | | 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-101-15/+23
| | | | | | | | | | | | 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-251-11/+3
| | | | | | | | | | 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-051-2/+2
| | | | | | M PyShell.py M rpc.py M run.py
* Reset the Python execution server environment to its initial value priorKurt B. Kaiser2002-07-281-3/+11
| | | | | | | 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-261-1/+32
| | | | | | | 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-261-3/+7
| | | | | | | | | | | 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-161-2/+2
| | | | | | 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-261-0/+49