New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDLE uses non-existent xrange() function (Py30a2) #45926
Comments
When I start IDLE I get this: Python 3.0a2 (r30a2:59382, Dec 10 2007, 14:21:37)
IDLE 3.0a1
That's fine (if slightly confusing regarding the version numbers), but : Exception in Tkinter callback
Traceback (most recent call last):
File "/home/mark/opt/python30a2/lib/python3.0/lib-tk/Tkinter.py", line
1402,
in __call__
return self.func(*args)
File
"/home/mark/opt/python30a2/lib/python3.0/idlelib/EditorWindow.py", line
385, in config_dialog
configDialog.ConfigDialog(self.top,'Settings')
File
"/home/mark/opt/python30a2/lib/python3.0/idlelib/configDialog.py", line
50, in __init__
self.CreateWidgets()
File
"/home/mark/opt/python30a2/lib/python3.0/idlelib/configDialog.py", line
69, in CreateWidgets
page_names=['Fonts/Tabs','Highlighting','Keys','General'])
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
398, in __init__
self.add_page(name)
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
413, in add_page
self._tab_set.add_tab(page_name)
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
76, in add_tab
self._arrange_tabs()
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
163, in _arrange_tabs
for row_index in xrange(n_rows):
NameError: global name 'xrange' is not defined I tried changing xrange to range, but that doesn't work: : Exception in Tkinter callback
Traceback (most recent call last):
File "/home/mark/opt/python30a2/lib/python3.0/lib-tk/Tkinter.py", line
1402,
in __call__
return self.func(*args)
File
"/home/mark/opt/python30a2/lib/python3.0/idlelib/EditorWindow.py", line
385, in config_dialog
configDialog.ConfigDialog(self.top,'Settings')
File
"/home/mark/opt/python30a2/lib/python3.0/idlelib/configDialog.py", line
50, in __init__
self.CreateWidgets()
File
"/home/mark/opt/python30a2/lib/python3.0/idlelib/configDialog.py", line
69, in CreateWidgets
page_names=['Fonts/Tabs','Highlighting','Keys','General'])
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
398, in __init__
self.add_page(name)
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
413, in add_page
self._tab_set.add_tab(page_name)
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
76, in add_tab
self._arrange_tabs()
File "/home/mark/opt/python30a2/lib/python3.0/idlelib/tabbedpages.py",
line
148, in _arrange_tabs
for tab_name in self._tabs.keys():
RuntimeError: dictionary changed size during iteration |
Amaury Forgeot d'Arc says he's fixed this in change 59456 (but I don't |
Fixed in r59456 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: