mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import.
This commit is contained in:
commit
e371599004
2 changed files with 11 additions and 2 deletions
|
@ -68,8 +68,6 @@ for idx, value in enumerate(sys.argv):
|
|||
break
|
||||
|
||||
# Now it is safe to import idlelib.
|
||||
from idlelib import macosxSupport
|
||||
macosxSupport._appbundle = True
|
||||
from idlelib.pyshell import main
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue