mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#18196: merge with 3.3
This commit is contained in:
commit
6d844c5db9
2 changed files with 6 additions and 0 deletions
|
@ -339,6 +339,10 @@ class Executive(object):
|
|||
exec(code, self.locals)
|
||||
finally:
|
||||
interruptable = False
|
||||
except SystemExit:
|
||||
# Scripts that raise SystemExit should just
|
||||
# return to the interactive prompt
|
||||
pass
|
||||
except:
|
||||
self.usr_exc_info = sys.exc_info()
|
||||
if quitting:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue