wala/ML

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

Ouverte

#211 ouverte le 22 juil. 2024

 (0 commentaire) (0 réaction) (0 personne assignée)Java (17 forks)auto 404
PYTHONPATHbughelp wanted

Métriques du dépôt

Stars
 (27 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur