Pythonwin attribute expansion

Mark Hammond MarkH at ActiveState.com
Thu Jul 20 07:13:05 EDT 2000


"Howard B. Golden" <hgolden at my-deja.com> wrote in message
news:8l5a2g$egp$1 at nnrp1.deja.com...
> This is about Pythonwin build 132 and Python 1.5.2.
>
> See the code test below.  I define a superclass "Super" and a
> subclass "Sub" of "Super".  I create an instance of "Sub" named "s".
>
> Using the Pythonwin interactive window's attribute expansion, when I
> type "s." I get a pop-up showing the variables of both "Sub"
> and "Super", but only the methods of "Sub" (e.g. "m3" and "m4").  It
> seems to me that I should get the methods of "Super" as well.  Is this
> a bug, feature, or something I can control?

It's a bug.

If you would like to fix it, look in pywin\scintilla\view.py, and locate
the _AutoComplete() method.  The line:


Mark.






More information about the Python-list mailing list