wala/ML

Intermodule importing using `import` not working (`from ... import ...` works fine)

Open

#211 opened on Jul 22, 2024

 (0 comments) (0 reactions) (0 assignees)Java (17 forks)auto 404
PYTHONPATHbughelp wanted

Repository metrics

Stars
 (27 stars)
PR merge metrics
 (PR metrics pending)

Description

Importing a module from within the same directory works fine. Importing a module from another directory using PYTHONPATH also (mostly) works. But, if a module (with PYTHONPATH) imports another module from the same package (directory) using the import syntax, that doesn't seem to work.

Regression

Using the from X import Y syntax works fine.

Contributor guide