wala/ML

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

Offen

#211 geöffnet am 22.07.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (17 Forks)auto 404
PYTHONPATHbughelp wanted

Repository-Metriken

Stars
 (27 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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