You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'calltips' and 'windows' are the only two plural module names.
The top menu entry was changed from 'Windows' to 'Window' some time ago.
'windows' is also a OS.
With all modules at least imported in a test, all imports in modules should be checked, so running test_idle after changing the file name should reveal all imports that need to be changed.
What could have been the 'Window' class is called 'ListedTopLevel'.
Also rename idle_test.test_windows as test_window with git mv. Imports:
F:\dev\3x\lib\idlelib\editor.py: 28: from idlelib import windows
F:\dev\3x\lib\idlelib\idle_test\test_windows.py: 3: from idlelib import windows
F:\dev\3x\lib\idlelib\macosx.py: 131: from idlelib import windows
Activity
terryjreedy commentedon Jun 19, 2018
Change module 'windows' to 'window'::
With all modules at least imported in a test, all imports in modules should be checked, so running test_idle after changing the file name should reveal all imports that need to be changed.
What could have been the 'Window' class is called 'ListedTopLevel'.
[-]IDLE: change windows.py to window.py[/-][+]IDLE: rename windows.py as window.py[/+]terryjreedy commentedon Jun 20, 2018
Also rename idle_test.test_windows as test_window with git mv. Imports:
F:\dev\3x\lib\idlelib\editor.py: 28: from idlelib import windows
F:\dev\3x\lib\idlelib\idle_test\test_windows.py: 3: from idlelib import windows
F:\dev\3x\lib\idlelib\macosx.py: 131: from idlelib import windows
terryjreedy commentedon Jun 20, 2018
Marking 2.7 for a search test.
terryjreedy commentedon Jun 21, 2018
New changeset a361e89 by Terry Jan Reedy in branch 'master':
bpo-33906: Rename idlelib.windows as window (bpo-7833)
a361e89
miss-islington commentedon Jun 21, 2018
New changeset f9243a2 by Miss Islington (bot) in branch '3.7':
bpo-33906: Rename idlelib.windows as window (GH-7833)
f9243a2
miss-islington commentedon Jun 21, 2018
New changeset 2839da4 by Miss Islington (bot) in branch '3.6':
bpo-33906: Rename idlelib.windows as window (GH-7833)
2839da4