Menu

#1143 parenthetical expressions autocomplete incorrectly

open
nobody
None
5
2010-05-05
2010-05-05
No

x = Foo()
x.<content assist>

gives completions for Foo's methods and attributes, as expected; however,

x = (Foo())
x.<content assist>

gives completions for the 'tuple' built-in type's methods and attributes. I suspect this is because parentheses are misparsed somewhere as starting a tuple, where the parser should really be only looking for the comma.

Discussion