pydev code completion problem

Diez B. Roggisch deets at nospam.web.de
Sun Oct 14 23:59:59 CEST 2007


Lukasz Mierzejewski schrieb:
> On Sun, 14 Oct 2007 20:36:07 +0000, cyberco wrote:
> 
>> Confirmed (with exactly the same software).
>>
>> Please discuss this issue at the PyDev discussion forum:
>> http://sourceforge.net/forum/forum.php?forum_id=293649
> 
> 
> Thank you for replay, but I'm still not sure what to think about it...
> Marc 'BlackJack' Rintsch in his replay to my post says that it would be to
> complicated for IDE to keep track of all objects... isn't he right?

He is right. What would you expect from this piece of code:


foo = random.choose([A(), B(), C(), ..., Z()])



What PyDev does is to implement some heuristics that can guess easy 
cases - as you saw for yourself. But there is a limit to what can be 
done. Instead, it might even introduce errors.

Diez



More information about the Python-list mailing list