-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
logging: string->String #44567
logging: string->String #44567
Conversation
Do we know what types |
It has to be For Julia 2.0 we should rework the logging framework to specify some types on at least some of its variables. Code from the logging framework gets inserted into everything, and having it wide-open without any type annotations whatsoever causes so many vulnerabilities for invalidation. Either that or (1) write it in C, (2) hide it in a module like Core that won't invalidate, or (3) all logging code has to be hidden behind runtime dispatch. |
but with this PR this would throw a |
Didn't know that, thanks @fredrikekre. Unfortunate, then, that the entire test suite (esp. |
Hm, I don't see how that PR is related to this. |
Good point. Fixed. |
@KristofferC @timholy Note that this PR was not actually merged into |
Ugh, is this something we need to revert? Or what's the right way to handle it? FWIW I don't think this is a very risky PR. |
This is from #44500. Note it's against
backports-release-1.8
This is good material for 1.8 because of the introduction of LazyString, which will probably be used heavily by the logging framework.