There was an error on exit if no sys.exitfunc was defined. Issue 1647.
Backport r60227
This commit is contained in:
parent
0b45f36c81
commit
38fd069a73
|
@ -3,6 +3,9 @@ What's New in IDLE 1.2.2c1?
|
|||
|
||||
*Release date: XX-FEB-2008*
|
||||
|
||||
- There was an error on exit if no sys.exitfunc was defined. Issue 1647.
|
||||
(backport r60227)
|
||||
|
||||
- Could not open files in .idlerc directory if latter was hidden on Windows.
|
||||
Issue 1743, Issue 1862. (backport r60225, r60745)
|
||||
|
||||
|
|
|
@ -205,7 +205,10 @@ def exit():
|
|||
|
||||
"""
|
||||
if no_exitfunc:
|
||||
try:
|
||||
del sys.exitfunc
|
||||
except AttributeError:
|
||||
pass
|
||||
sys.exit(0)
|
||||
|
||||
class MyRPCServer(rpc.RPCServer):
|
||||
|
|
Loading…
Reference in New Issue