[Python-bugs-list] [ python-Bugs-448835 ] Python 2.2a1 Under Idle - Generator

noreply@sourceforge.net noreply@sourceforge.net
Tue, 07 Aug 2001 09:52:31 -0700


Bugs item #448835, was opened at 2001-08-07 09:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=448835&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Colin J. Williams (cjwhrh)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.2a1 Under Idle - Generator

Initial Comment:
The following program, run under Idle, gives the message below:

        def fib():
            a, b = 0, 1
            while 1:
                yield b
                a, b = b, a+b

>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "G:\PYTHON22\lib\lib-tk\Tkinter.py", line 1285, in __call__
    return apply(self.func, args)
  File "G:\PYTHON22\Tools\idle\ScriptBinding.py", line 64, in check_module_event
    if not self.tabnanny(filename):
  File "G:\PYTHON22\Tools\idle\ScriptBinding.py", line 72, in tabnanny
    tabnanny.reset_globals()
AttributeError: 'module' object has no attribute 'reset_globals'



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=448835&group_id=5470