[Python-3000] xrange is still present in idlelib/EditorWindow.py

Terry Reedy tjreedy at udel.edu
Sun Jun 29 20:21:04 CEST 2008



nirinA raseliarison wrote:
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/root/Py3kb1/lib/python3.0/tkinter/__init__.py", line 1409,
>   in __call__
>     return self.func(*args)
>   File "/root/Py3kb1/lib/python3.0/idlelib/MultiCall.py", line 165,
>   in handler
>     r = l[i](event)
>   File "/root/Py3kb1/lib/python3.0/idlelib/EditorWindow.py", line 292,
>   in home_callback
>     for insertpt in xrange(len(line)):
> NameError: global name 'xrange' is not defined

http://bugs.python.org/issue3237
Register and you can submit these yourself.



More information about the Python-3000 mailing list