Pythonwin attribute expansion

Mark Hammond MarkH at ActiveState.com
Thu Jul 20 07:14:55 EDT 2000


Let me try this again...

It's a bug.

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

     items = items + dir(ob.__class__)

Is at fault - dir() doesnt search sub-classes.  Simply make this line
smarter, by iterating over ob.__bases__

Mark.






More information about the Python-list mailing list