wala/ML

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

オープン

#211 opened on 2024/07/22

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Java (17 件のフォーク)auto 404
PYTHONPATHbughelp wanted

Repository metrics

Stars
 (27 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド