mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
- Print correct exception even if source file changed since shell was
restarted. IDLEfork Patch 869012 Noam Raphael Modified Files: NEWS.txt run.py
This commit is contained in:
parent
44a31e1dab
commit
e9802a301d
2 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
||||||
What's New in IDLE 1.0+?
|
What's New in IDLE 1.1a0?
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
*Release date: XX-XXX-2003*
|
*Release date: XX-XXX-2004*
|
||||||
|
|
||||||
|
- Print correct exception even if source file changed since shell was
|
||||||
|
restarted. IDLEfork Patch 869012 Noam Raphael
|
||||||
|
|
||||||
- Keybindings with the Shift modifier now work correctly. So do bindings which
|
- Keybindings with the Shift modifier now work correctly. So do bindings which
|
||||||
use the Space key. Limit unmodified user keybindings to the function keys.
|
use the Space key. Limit unmodified user keybindings to the function keys.
|
||||||
|
|
|
@ -109,6 +109,8 @@ def manage_socket(address):
|
||||||
server.handle_request() # A single request only
|
server.handle_request() # A single request only
|
||||||
|
|
||||||
def print_exception():
|
def print_exception():
|
||||||
|
import linecache
|
||||||
|
linecache.checkcache()
|
||||||
flush_stdout()
|
flush_stdout()
|
||||||
efile = sys.stderr
|
efile = sys.stderr
|
||||||
typ, val, tb = excinfo = sys.exc_info()
|
typ, val, tb = excinfo = sys.exc_info()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue