-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
at-[s]printf to Printf stdlib #25056
at-[s]printf to Printf stdlib #25056
Conversation
Bravo and thank you! |
b958227
to
83efcc1
Compare
6b0c22b
to
d9578dd
Compare
base/sysimg.jl
Outdated
@@ -362,7 +362,7 @@ import .Random: rand, rand! | |||
|
|||
# (s)printf macros | |||
include("printf.jl") | |||
using .Printf | |||
import .Printf |
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.
Is this import
necessary so that Printf.@printf
overrides Base.Printf.@printf
?
Looks like there's a vestigial use of |
Seems to be in shape apart from needing a rebase, a fix for the logging PR interaction, and a CI rerun? |
d9578dd
to
6cd1d6c
Compare
Rebased, and tests passes locally |
6cd1d6c
to
0e09ecd
Compare
0e09ecd
to
8ab6f01
Compare
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.
superficially lgtm from a skim! Thanks @fredrikekre! :)
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.
👍
The macOS run is timing out on some kind of dependency installation. Yolo. |
I like |
Yes |
Needed due to JuliaLang/julia#25056.
Moves
@printf
and@sprintf
to the stdlib modulePrintf
(perhaps we can have a better name for that?FormattedPrinting
?PrettyPrinting
?)Implementation is still mostly in
base/printf.jl
to let Base use these.close #23929