-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
very unsound assumptions about REPL state injection #3933
Comments
I'm missing a solution here. This is how external REPL modes are installed AFAIU. |
You install REPL hooks by calling |
|
You linked a much larger piece of code than that single one. |
The other major mistake here is calling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code runs on a thread, which makes this an unsafe data race to call this function:
Pkg.jl/ext/REPLExt/REPLExt.jl
Lines 311 to 321 in 8c99679
It is VERY strongly inadvisable to have an
__init__
function defined in this code, due to the unreliability of the environment it runs in, and the corruption this will cause to the REPL module.The text was updated successfully, but these errors were encountered: