mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
- After an exception, run.py was not setting the exception vector. Noam
Raphael suggested correcting this so pdb's postmortem pm() would work. IDLEfork Patch 844675 Modified: NEWS.txt run.py
This commit is contained in:
parent
b03136ad52
commit
924f616421
2 changed files with 6 additions and 1 deletions
|
@ -3,6 +3,10 @@ What's New in IDLE 1.0+?
|
||||||
|
|
||||||
*Release date: XX-XXX-2003*
|
*Release date: XX-XXX-2003*
|
||||||
|
|
||||||
|
- After an exception, run.py was not setting the exception vector. Noam
|
||||||
|
Raphael suggested correcting this so pdb's postmortem pm() would work.
|
||||||
|
IDLEfork Patch 844675
|
||||||
|
|
||||||
- IDLE didn't start correctly when Python was installed in "Program Files" on
|
- IDLE didn't start correctly when Python was installed in "Program Files" on
|
||||||
W2K and XP. Python Bugs 780451, 784183
|
W2K and XP. Python Bugs 780451, 784183
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,8 @@ def manage_socket(address):
|
||||||
def print_exception():
|
def print_exception():
|
||||||
flush_stdout()
|
flush_stdout()
|
||||||
efile = sys.stderr
|
efile = sys.stderr
|
||||||
typ, val, tb = sys.exc_info()
|
typ, val, tb = excinfo = sys.exc_info()
|
||||||
|
sys.last_type, sys.last_value, sys.last_traceback = excinfo
|
||||||
tbe = traceback.extract_tb(tb)
|
tbe = traceback.extract_tb(tb)
|
||||||
print >>efile, '\nTraceback (most recent call last):'
|
print >>efile, '\nTraceback (most recent call last):'
|
||||||
exclude = ("run.py", "rpc.py", "threading.py", "Queue.py",
|
exclude = ("run.py", "rpc.py", "threading.py", "Queue.py",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue