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

Namespace collision when running the tool on the standard library #12

Open
EarlPitts opened this issue Aug 5, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@EarlPitts
Copy link
Collaborator

Due to the way the peer nodes have their load paths modified, running the checker on module that has the same name that the peer modules use internally leads to problems.
For example, if we try to run the checker on the re module from the standard library, the peer node itself cannot even start, because starting it requires same functions from re, but because of the modified load path, it would try to find the function in the module to be checked.

One way to resolve this issue would be to modify the load path just before the function that needs to be tested is evaluated, but that could probably lead to other issues, so more investigation is needed.

@EarlPitts EarlPitts added the bug Something isn't working label Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant