Don't visit child nodes of JoinedStringAst (py3.6 fstrings)

Authored by flherne on Jan 4 2017, 11:53 PM.

Description

Don't visit child nodes of JoinedStringAst (py3.6 fstrings)

The ranges and contexts are very broken, which triggers an assertion in
child comprehension nodes.

Overall expression value is always str, and expressions used in format
strings ought to be simple, so we shouldn't miss much duchain info.

This would break tooltips/highlighting for the child expressions, but
that wasn't working anyway.

Details

Committed
flherneJan 4 2017, 11:53 PM
Parents
R53:5e60808c464c: Avoid crash with negative argument indices in hints.
Branches
Unknown
Tags
Unknown