New submission from Karthikeyan Singaravelan <[email protected]>:
I used to launch IDLE using from master using ./python.exe -m idlelib . It used
to work but fails on master on Mac OS now. There seems to be some discussion
about this on msg332672 after the commit
c1b4b0f6160e1919394586f44b12538505fed300. Feel free to close this if it's a
known issue. I haven't tested it on latest 3.7 but it seems the commit was also
merged to 3.7 so I am just adding 3.8 as version.
Mac OS version : 10.10.4
➜ cpython git:(master) ✗ git checkout c1b4b0f6160e1919394586f44b12538505fed300
Lib/idlelib && ./python.exe -m idlelib
Traceback (most recent call last):
File "/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/runpy.py", line
192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/runpy.py", line
85, in _run_code
exec(code, run_globals)
File
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/idlelib/__main__.py",
line 7, in <module>
idlelib.pyshell.main()
File
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/idlelib/pyshell.py",
line 1507, in main
macosx.setupApp(root, flist)
File
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/idlelib/macosx.py",
line 280, in setupApp
overrideRootMenu(root, flist)
File
"/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/idlelib/macosx.py",
line 181, in overrideRootMenu
del mainmenu.menudefs[-2][1][0]
IndexError: list assignment index out of range
➜ cpython git:(master) ✗ git checkout
c1b4b0f6160e1919394586f44b12538505fed300~1 Lib/idlelib && ./python.exe -m
idlelib # Works
$ git show c1b4b0f6160e1919394586f44b12538505fed300
commit c1b4b0f6160e1919394586f44b12538505fed300 (bpo35557, 35559)
Author: Cheryl Sabella <[email protected]>
Date: Sat Dec 22 01:25:45 2018 -0500
bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels
(GH-11214)
The Code Context menu label now toggles between Show/Hide Code Context.
The Zoom Height menu now toggles between Zoom/Restore Height.
Zoom Height has moved from the Window menu to the Options menu.
https://bugs.python.org/issue22703
----------
assignee: terry.reedy
components: IDLE
messages: 333945
nosy: cheryl.sabella, taleinat, terry.reedy, xtreak
priority: normal
severity: normal
status: open
title: IDLE: python -m idlelib fails on master on Mac OS 10.10.4
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35770>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com