New submission from Nick <nick.allg...@gmail.com>: I tried to run the attached code and it seems IntVar() dies in the Tkinter module. After discussion with several other coworkers they seem to agree this may be a bug in Tkinter. If you need more info feel free to let me know and I can help with further testing.
OS: Windows XP 32-bit SP2 Python: Python 3.1.1 Error: Traceback (most recent call last): File "H:/code/python/hfprog_sounds/intvar-POC.py", line 3, in <module> num_good = IntVar() File "C:\Python31\lib\tkinter\__init__.py", line 265, in __init__ Variable.__init__(self, master, value, name) File "C:\Python31\lib\tkinter\__init__.py", line 174, in __init__ self._tk = master.tk AttributeError: 'NoneType' object has no attribute 'tk' ---------- components: Tkinter files: intvar-POC.py messages: 99238 nosy: Plazma severity: normal status: open title: IntVar() - AttributeError: 'NoneType' object has no attribute 'tk' type: compile error versions: Python 3.1 Added file: http://bugs.python.org/file16214/intvar-POC.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7914> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com