Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
khatchad opened this issue Jul 22, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed PYTHONPATH

Comments

@khatchad
Copy link
Collaborator

khatchad commented Jul 22, 2024

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.

@khatchad khatchad added bug Something isn't working help wanted Extra attention is needed PYTHONPATH labels Jul 22, 2024
@khatchad khatchad changed the title Intermodule importing not working Intermodule importing using import not working Jul 22, 2024
@khatchad khatchad changed the title Intermodule importing using import not working Intermodule importing using import not working (from ... import ... works fine) Jul 22, 2024
khatchad added a commit to ponder-lab/ML that referenced this issue Jul 22, 2024
khatchad added a commit to ponder-lab/ML that referenced this issue Jul 22, 2024
Another test for wala#211.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed PYTHONPATH
Projects
None yet
Development

No branches or pull requests

1 participant