-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
move InteractiveUtils to stdlib #25780
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
Conversation
eac7d29 to
bdfd122
Compare
base/client.jl
Outdated
| end | ||
|
|
||
| if repl | ||
| eval(Main, :(using InteractiveUtils)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to load these if the -i flag is set? Then it will automatically work in IJulia and other things that use julia -i.
e7e8d4e to
361f4af
Compare
|
This should remove the last usage of Pkg in Base. |
41eb402 to
f34a762
Compare
f34a762 to
2ff4f23
Compare
|
Is |
|
Ok, if you just need |
| Base.DATAROOTDIR, "julia", "test", "runtests.jl")) $tests`, ENV2)) | ||
| catch | ||
| buf = PipeBuffer() | ||
| versioninfo(buf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now gives:
WARNING: Base.versioninfo is deprecated: it has been moved to the standard library package `InteractiveUtils`.
Add a `using InteractiveUtils` to your imports..
in module Base
when Base.runtests fail.
Edit: Not on only on failure, apparently always.
Actually, there is already |
I kept
dumpandwhichfor now.Also deprecated
which(::Symbol), since we have generally been removing functions that default to looking inMain.Moved a few things to more logical places.
_check_bitarray_consistencyis now inTest. All the code for cpu_info is inSys. Not sure what to do withBase.runtests; kept it for now.downloadobviously has non-interactive uses, so it stays.clipboardcould go either way.Closes #25751