mirror of https://github.com/python/cpython
#18196: merge with 3.3
This commit is contained in:
commit
6d844c5db9
|
@ -339,6 +339,10 @@ class Executive(object):
|
||||||
exec(code, self.locals)
|
exec(code, self.locals)
|
||||||
finally:
|
finally:
|
||||||
interruptable = False
|
interruptable = False
|
||||||
|
except SystemExit:
|
||||||
|
# Scripts that raise SystemExit should just
|
||||||
|
# return to the interactive prompt
|
||||||
|
pass
|
||||||
except:
|
except:
|
||||||
self.usr_exc_info = sys.exc_info()
|
self.usr_exc_info = sys.exc_info()
|
||||||
if quitting:
|
if quitting:
|
||||||
|
|
|
@ -455,6 +455,8 @@ C-API
|
||||||
IDLE
|
IDLE
|
||||||
----
|
----
|
||||||
|
|
||||||
|
- Issue #18196: Avoid displaying spurious SystemExit tracebacks.
|
||||||
|
|
||||||
- Issue #5492: Avoid traceback when exiting IDLE caused by a race condition.
|
- Issue #5492: Avoid traceback when exiting IDLE caused by a race condition.
|
||||||
|
|
||||||
- Issue #17511: Keep IDLE find dialog open after clicking "Find Next".
|
- Issue #17511: Keep IDLE find dialog open after clicking "Find Next".
|
||||||
|
|
Loading…
Reference in New Issue