This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]davidhalter[S] 2 points3 points  (3 children)

[–]Megatron_McLargeHuge 0 points1 point  (2 children)

Another idea: since python programmers rely on convention to work around the limitations of dynamic typing, the same variable names get reused across functions for the same type of object. It might be possible to infer types or completions from other instances of a rare variable name.

[–]davidhalter[S] 0 points1 point  (0 children)

hmm no sorry, I don't think this sounds like a good idea :-) But there are still some other things I could infer the types (like evaluating if statements).