File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1409,7 +1409,7 @@ def main():
14091409 global flist , root , use_subprocess
14101410
14111411 use_subprocess = True
1412- enable_shell = True
1412+ enable_shell = False
14131413 enable_edit = False
14141414 debug = False
14151415 cmd = None
@@ -1430,7 +1430,6 @@ def main():
14301430 enable_shell = True
14311431 if o == '-e' :
14321432 enable_edit = True
1433- enable_shell = False
14341433 if o == '-h' :
14351434 sys .stdout .write (usage_msg )
14361435 sys .exit ()
@@ -1481,6 +1480,7 @@ def main():
14811480 edit_start = idleConf .GetOption ('main' , 'General' ,
14821481 'editor-on-startup' , type = 'bool' )
14831482 enable_edit = enable_edit or edit_start
1483+ enable_shell = enable_shell or not enable_edit
14841484 # start editor and/or shell windows:
14851485 root = Tk (className = "Idle" )
14861486
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ Core and Builtins
1515Library
1616-------
1717
18+ - Issue #6698: IDLE now opens just an editor window when configured to do so.
19+
1820- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer
1921 raises an exception.
2022
You can’t perform that action at this time.
0 commit comments