wala/ML

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

Aberta

#211 aberto em 22 de jul. de 2024

 (0 comentário) (0 reação) (0 responsável)Java (17 forks)auto 404
PYTHONPATHbughelp wanted

Métricas do repositório

Stars
 (27 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador