You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, this problem really only shows up in the relative import case, because, in other cases, the relative path (relative to PYTHONPATH) is included in the module name, e.g., E/C/A, when we get to com.ibm.wala.cast.python.parser.PythonModuleParser.getLocalModule(String).
It would thus seem that, in the case that the import includes the module/package name, the resolved module name (i.e., with the periods removed) should also include the relative path (relative to PYTHONPATH).
Currently, we only the module name and not the entire path when looking up local modules.
Suppose we have the following package structure:
When we lookup the local module
B.py
, currently, we could get either one---E/D/B
orD/B
.The text was updated successfully, but these errors were encountered: