File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1413,7 +1413,7 @@ def main():
14131413 global flist , root , use_subprocess
14141414
14151415 use_subprocess = True
1416- enable_shell = True
1416+ enable_shell = False
14171417 enable_edit = False
14181418 debug = False
14191419 cmd = None
@@ -1434,7 +1434,6 @@ def main():
14341434 enable_shell = True
14351435 if o == '-e' :
14361436 enable_edit = True
1437- enable_shell = False
14381437 if o == '-h' :
14391438 sys .stdout .write (usage_msg )
14401439 sys .exit ()
@@ -1487,6 +1486,7 @@ def main():
14871486 edit_start = idleConf .GetOption ('main' , 'General' ,
14881487 'editor-on-startup' , type = 'bool' )
14891488 enable_edit = enable_edit or edit_start
1489+ enable_shell = enable_shell or not enable_edit
14901490 # start editor and/or shell windows:
14911491 root = Tk (className = "Idle" )
14921492
Original file line number Diff line number Diff line change @@ -297,6 +297,8 @@ Core and Builtins
297297Library
298298-------
299299
300+ - Issue #6698: IDLE now opens just an editor window when configured to do so.
301+
300302- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer
301303 raises an exception.
302304
You can’t perform that action at this time.
0 commit comments