wala/ML
Intermodule importing using `import` not working (`from ... import ...` works fine)
開放
#211 建立於 2024年7月22日
PYTHONPATHbughelp wanted
倉庫指標
- 星標
- (27 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
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.