[Python-bugs-list] [ python-Bugs-668906 ] class browser raises AttributeError
SourceForge.net
noreply@sourceforge.net
Sat, 18 Jan 2003 14:39:45 -0800
Bugs item #668906, was opened at 2003-01-16 00:11
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=668906&group_id=5470
Category: IDLE
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gregory Smith (gregsmith)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: class browser raises AttributeError
Initial Comment:
On win32 (specifically win98) with 3.2:
(1) start IDLE
(2) open ..../Lib/copy.py (or anything, really)
(3) File>Class Browser
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\BIN\PYTHON23\lib\lib-tk\Tkinter.py", line
1306, in __call__
return apply(self.func, args)
File "C:\BIN\PYTHON23\Tools\idle\EditorWindow.py",
line 385, in open_class_browser
ClassBrowser.ClassBrowser(self.flist, base, [head])
File "C:\BIN\PYTHON23\Tools\idle\ClassBrowser.py",
line 28, in __init__
self.init(flist)
File "C:\BIN\PYTHON23\Tools\idle\ClassBrowser.py",
line 50, in init
node.expand()
File "C:\BIN\PYTHON23\Tools\idle\TreeWidget.py", line
131, in expand
self.update()
File "C:\BIN\PYTHON23\Tools\idle\TreeWidget.py", line
170, in update
self.draw(7, 2)
File "C:\BIN\PYTHON23\Tools\idle\TreeWidget.py", line
184, in draw
sublist = self.item._GetSubList()
File "C:\BIN\PYTHON23\Tools\idle\TreeWidget.py", line
337, in _GetSubList
sublist = self.GetSubList()
File "C:\BIN\PYTHON23\Tools\idle\ClassBrowser.py",
line 72, in GetSubList
for name in self.listclasses():
File "C:\BIN\PYTHON23\Tools\idle\ClassBrowser.py",
line 101, in listclasses
if cl.super:
AttributeError: Function instance has no attribute 'super'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=668906&group_id=5470