-
Notifications
You must be signed in to change notification settings - Fork 370
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
Import failures prevent from re-trying #1523
Labels
Comments
The root cause of this is somehow also related to the root cause of #1134. However, the fix is different. |
Definitely. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During development, it is common to import faulty modules from the repl. If a Hy module fails to load due to a
HyTypeError
orLexException
, it cannot be loaded again until the repl is restarted.There is a different exception treatment in the importer. One of the exception blocks is not cleaning up
sys.modules
before returning and that leaves a trace of the failure.The text was updated successfully, but these errors were encountered: