[wingide-users] Source assistant for properties in 3.2.0b1 (plus suspected autocomplete bug)

william ratcliff william.ratcliff at gmail.com
Mon May 18 13:39:06 MDT 2009

Another newbie question about the source assistant:

If I am using the python shell and do something like:
import numpy as N, then as I type, N.arr, I can do nice things like command
line completion to get N.array and at the same time,
I can see the docstring in the source assistant.  However, in the actual
project code, this fails to work.  Is there an option I need to set?


On Mon, May 18, 2009 at 2:31 PM, Wingware Support <support at wingware.com>wrote:

> Michael Foord wrote:
>> When I have a class with a property which defines a docstring, accessing
>> that property (where Wing recognises the type) brings up the docs for
>> 'property' in the source assistant and not the docs for *that* property.
>> ...
>> I think I have found another bug in autocomplete. For the following code I
>> am offered both p and z as members on the i object:
>> class A(object):
>>   p = property(None, None, None, """doc""")
>>  i = A()
>> class B(object):
>>   z = property(None, None, None, """doc""")
>>  i = B()
>> i.
> Both of these are current limitations of the analysis engine.  Changing it
> to recognize property objects is probably the simpler task.
> Thank you for working on generate_pi.py and for making it available!
> John
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20090518/ccc3b00f/attachment.html

More information about the wingide-users mailing list