[Pygui] Bugs in PyGUI
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Jan 22 08:41:22 CET 2012
David Robinow wrote:
> I think the OP must have caused an indentation error trying to fix the bug.
> I get the following (Vista PyGUI-2.5.3 Python3.2.2)
> File "c:\python32\lib\site-packages\GUI\GStdMenus.py", line 81,in build_menus
> include = include + sum(always_include)
> TypeError: unsupported operand type(s) for +: 'set' and 'set'
Well, this is annoying. In Python 3, the set type seems to
have changed so that operations on subclasses of set return
plain sets, rather than instances of the subclass.
I'll have to fix the CommandSet class to take this into
account.
--
Greg
More information about the Pygui
mailing list