Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 27336:cbca0bcf1c31 legacy-trunk
M Bindings.py
M PyShell.py
M config-keys.def
M configHandler.py
1. Clear any un-entered characters from input line before printing the
restart boundary.
2. Restore the Debug menu: There are now both Shell and Debug menus.
3. Add Control-F6 keybinding to Restart Shell.
4. Clarify PyShell.cancel_check() comment.
5. Update doc string for Bindings.py and re-format the file slightly.
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Wed, 22 Jan 2003 00:23:23 +0000 |
| parents | b865925ef68a |
| children | a457531c0fd4 |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Tue Jan 21 22:58:39 2003 +0000 +++ b/Lib/idlelib/PyShell.py Wed Jan 22 00:23:23 2003 +0000 @@ -368,6 +368,7 @@ self.transfer_path() # annotate restart in shell window and mark it console = self.tkconsole + console.text.delete("iomark", "end-1c") halfbar = ((int(console.width) - 16) // 2) * '=' console.write(halfbar + ' RESTART ' + halfbar) console.text.mark_set("restart", "end-1c") @@ -659,6 +660,7 @@ ("file", "_File"), ("edit", "_Edit"), ("shell", "_Shell"), + ("debug", "_Debug"), ("options", "_Options"), ("windows", "_Windows"), ("help", "_Help"), @@ -1007,8 +1009,8 @@ # Hack -- use the debugger hooks to be able to handle events # and interrupt execution at any time. # This slows execution down quite a bit, so you may want to - # disable this (by not calling settrace() in runcode() above) - # for full-bore (uninterruptable) speed. + # disable this (by not calling settrace() in beginexecuting() and + # endexecuting() for full-bore (uninterruptable) speed.) # XXX This should become a user option. if self.canceled: return
