Open maximiliankaul opened 1 month ago
Probably similar as I do it in Go, but the whole system probably needs to be overhauled. Also slightly related to #1533
import * from X
is basically the same as using namespace X
in C++
import aliases also handled in Go with the aliases
property in the scope manager, but this is a rather ugly hack
We can start working on this, once #1536 is merged.
How should we handle imports in Python? The current approach (
VariableDeclaration
without fqn) is not satisfactory and should be improved. What is the correct way to model this in the CPG?import_stmt
*
@KuechA re-started this discussion.