-
-
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
Backports release 1.11 #55855
Backports release 1.11 #55855
Commits on Sep 24, 2024
-
Add compat entry for
Base.donotdelete
(#55773)(cherry picked from commit 346f38b)
Configuration menu - View commit details
-
Copy full SHA for 5548790 - Browse repository at this point
Copy the full SHA 5548790View commit details -
Fix shell
cd
error when working dir has been deleted (#41244)root cause: if current dir has been deleted, then pwd() will throw an IOError: pwd(): no such file or directory (ENOENT) --------- Co-authored-by: Ian Butterworth <i.r.butterworth@gmail.com> (cherry picked from commit 48ddd2d)
Configuration menu - View commit details
-
Copy full SHA for 9db412b - Browse repository at this point
Copy the full SHA 9db412bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0bf394 - Browse repository at this point
Copy the full SHA b0bf394View commit details -
[Dates] Make test more robust against non-UTC timezones (#55829)
`%M` is the format specifier for the minutes, not the month (which should be `%m`), and it was used twice. Also, on macOS `Libc.strptime` internally calls `mktime` which depends on the local timezone. We now temporarily set `TZ=UTC` to avoid depending on the local timezone. Fix #55827. (cherry picked from commit d6fa66f)
Configuration menu - View commit details
-
Copy full SHA for 1d51535 - Browse repository at this point
Copy the full SHA 1d51535View commit details -
fall back to slower stat filesize if optimized filesize fails (#55641)
(cherry picked from commit fc9f147)
Configuration menu - View commit details
-
Copy full SHA for 47e8cab - Browse repository at this point
Copy the full SHA 47e8cabView commit details -
Add
invokelatest
barrier tostring(...)
in@assert
(#55739)This change protects `@assert` from invalidations to `Base.string(...)` by adding an `invokelatest` barrier. A common source of invalidations right now is `print(io, join(args...))`. The problem is: 1. Inference concludes that `join(::Any...)` returns `Union{String,AnnotatedString}` 2. The `print` call is union-split to `String` and `AnnotatedString` 3. This code is now invalidated when StyledStrings defines `print(io, ::AnnotatedString)` The invalidation chain for `@assert` is similar: ` @Assert 1 == 1` calls into `string(::Expr)` which calls into `print(io, join(args::Any...))`. Unfortunately that leads to the invalidation of almost all `@assert`s without an explicit error message Similar to #55583 (comment) (cherry picked from commit 945517b)
Configuration menu - View commit details
-
Copy full SHA for c86965b - Browse repository at this point
Copy the full SHA c86965bView commit details -
use
inferencebarrier
instead ofinvokelatest
for 1-arg@assert
(#……55783) This version would be better as per this comment: <#55739 (review)> I confirmed this still allows us to avoid invalidations reported at #55583. (cherry picked from commit f808606)
Configuration menu - View commit details
-
Copy full SHA for 9e82e60 - Browse repository at this point
Copy the full SHA 9e82e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 056a287 - Browse repository at this point
Copy the full SHA 056a287View commit details -
🤖 [master] Bump the Downloads stdlib from 1061ecc to 89d3c7d (#55854)
Stdlib: Downloads URL: https://github.com/JuliaLang/Downloads.jl.git Stdlib branch: master Julia branch: master Old commit: 1061ecc New commit: 89d3c7d Julia version: 1.12.0-DEV Downloads version: 1.6.0(It's okay that it doesn't match) Bump invoked by: @KristofferC Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Downloads.jl@1061ecc...89d3c7d ``` $ git log --oneline 1061ecc..89d3c7d 89d3c7d fix cancelling upload requests (#259) df33406 gracefully cancel a request (#256) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com> (cherry picked from commit c3af4fc)
Configuration menu - View commit details
-
Copy full SHA for 0e17bd7 - Browse repository at this point
Copy the full SHA 0e17bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 704fdc6 - Browse repository at this point
Copy the full SHA 704fdc6View commit details