馬吉軍 wrote:
I found one small bugs in PyGUI when I run blobedit.py under python 3.2:
>
  File "C:\Python32\lib\site-packages\GUI\GStdMenus.py", line 82
    include = include + sum(always_include)
                                          ^
TabError: inconsistent use of tabs and spaces in indentation

*Fix:*
Replace line 81 in C:\Python32\lib\site-packages\GUI\GStdMenus.py:

    #include = include + sum(always_include)
    include = include.intersection(sum(always_include))

I don't understand this. There doesn't seem to be anything wrong with
the indentation around that line in my source, and even if there was,
I don't see how the change you suggest would fix it, except by the
side effect of changing the whitespace.

Is this a bug in Python 3.2? Has anyone else seen this? I don't have
a 3.2 installation at hand to test it on, and I'm reluctant to change
anything until I understand what's going on better.

--
Greg
_______________________________________________
Pygui mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pygui

Reply via email to