[wingide-users] Type inferencing for auto-complete

Wingware Support support at wingware.com
Wed Nov 18 20:40:42 MST 2009


Michael Foord wrote:
> It seems like the type-inferencer for autocomplete can't handle the 
> follow construct:
>
>    def createLogger(self):
>        Configuration.logger = GuiLogger(self.guiRoot.debugPane)
>        Configuration.logger.
>
> Configuration.logger is initialised to None, but even immediately 
> after an assignment I get no autocomplete on the logger.

Yes, currently Wing's source analyzer is ignoring creation/setting of 
attribs this way.
We'll probably change this in the future.

Thanks,

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com




More information about the wingide-users mailing list