Skip to content
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 for 1.10.6 #55746

Merged
merged 35 commits into from
Oct 22, 2024
Merged

Backports for 1.10.6 #55746

merged 35 commits into from
Oct 22, 2024

Commits on Sep 12, 2024

  1. mapreduce: don't inbounds unknown functions (#55329)

    More finely scope the `@inbounds` annotations to ensure neither `f` nor
    `op` are erroneously `@inbounds`ed.
    
    (cherry picked from commit 1dffd77)
    mbauman authored and KristofferC committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    21ccfc0 View commit details
    Browse the repository at this point in the history
  2. ml-matches: ensure all methods are included (#55365)

    Some methods were filtered out based simply on visit order, which was
    not intentional, with the lim==-1 weak-edges mode.
    
    Fix #55231
    
    (cherry picked from commit 1db5cf7)
    vtjnash authored and KristofferC committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    84139ed View commit details
    Browse the repository at this point in the history
  3. fix hierarchy level of "API reference" in Dates documentation (#55483)

    Currently, "API reference" is at the same level as "Dates" although it
    is a subsection of it. This looks particularly weird in the PDF version
    of the manual: Section 67 is "Dates" and Section 68 is "API reference".
    
    Note that I didn't change the nesting level of the subsection
    "Constants" at the end of the file. As a result, it is now at the same
    level as "Dates and Time Types" and "Dates Functions". Before it was a
    subsection of the latter, which appears wrong to me.
    
    (cherry picked from commit 881be64)
    matthias314 authored and KristofferC committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    ecdbb39 View commit details
    Browse the repository at this point in the history
  4. simplify complex atanh and remove singularity perturbation (#55268)

    fixes #55266, and use `inv(z)`
    rather than `1/z` and use `muladd` in a couple places.
    
    ---------
    
    Co-authored-by: Mosè Giordano <giordano@users.noreply.github.com>
    (cherry picked from commit b7aa5e3)
    oscardssmith authored and KristofferC committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    75436e4 View commit details
    Browse the repository at this point in the history
  5. Update symmetric docstring to reflect the type of uplo (#55504)

    This brings the docstring closer to the actual implementation. In
    particular, following the current docstring and defining
    ```julia
    symmetric(::MyMatrix, uplo=:U)
    ```
    leads to a method ambiguity, as `LinearAlgebra` defines
    `symmetric(::AbstractMatrix, uplo::Symbol=:U)`.
    
    (cherry picked from commit 8a19b74)
    jishnub authored and KristofferC committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    f4eda2d View commit details
    Browse the repository at this point in the history
  6. Set .jl sources as read-only during installation (#55524)

    This sets all `.jl` files in `$(prefix)/base` and `$(prefix)/test` to
    have `0444` permissions, to better match how `Pkg` installs packages
    (and sets them to be read-only).
    
    Fixes JuliaLang/juliaup#865
    
    ---------
    
    Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
    (cherry picked from commit 62e7705)
    staticfloat authored and KristofferC committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c7f5f2d View commit details
    Browse the repository at this point in the history
  7. [release-1.10] dont reset maxsize in jl_array_to_string (#55689)

    Let's change `jl_array_to_string` so that we make the consequences of
    calling it in a thread-unsafe way less disastrous (i.e. let's avoid
    corrupting GC internal metrics).
    
    Strictly speaking, this is not a bug-fix because calling
    `jl_array_to_string` concurrently from two threads is UB in any case.
    
    To see how a race here may lead to negative `live_bytes`, consider this
    MWE from @NHDaly:
    
    - 1.10:
    ```Julia
    julia> GC.gc(true); Base.gc_live_bytes()
    1842370
    
    julia> g_vecs = Any[
                      UInt8['a' for _ in 1:1000000000]
                      for _ in 1:10
                      ];
    
    julia> GC.gc(true); Base.gc_live_bytes()
    10001774906
    
    julia> Threads.@threads for _ in 1:1000
                      for v in g_vecs
                          String(v)
                      end
                  end
    
    julia> GC.gc(true); Base.gc_live_bytes()
    -1997600207
    ```
    
    - This patch:
    ```Julia
    julia> GC.gc(true); Base.gc_live_bytes()
    1862440
    
    julia> g_vecs = Any[
                      UInt8['a' for _ in 1:1000000000]
                      for _ in 1:10
                      ];
    
    julia> GC.gc(true); Base.gc_live_bytes()
    10001796440
    
    julia> Threads.@threads for _ in 1:1000
                      for v in g_vecs
                          String(v)
                      end
                  end
    
    julia> GC.gc(true); Base.gc_live_bytes()
    10002390952
    ```
    d-netto authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    c5ab7c9 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Root globals in toplevel exprs (#54433)

    This fixes #54422, the code here assumes that top level exprs are always
    rooted, but I don't see that referenced anywhere else, or guaranteed, so
    conservatively always root objects that show up in code.
    gbaraldi authored and giordano committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    f21154f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    242f704 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. inference: add missing TypeVar handling for instanceof_tfunc (#55884

    )
    
    I thought these sort of problems had been addressed by d60f92c, but it
    seems some were missed. Specifically, `t.a` and `t.b` from `t::Union`
    could be `TypeVar`, and if they are passed to a subroutine or recursed
    without being unwrapped or rewrapped, errors like #55882
    could occur.
    
    This commit resolves the issue by calling `unwraptv` in the `Union`
    handling within `instanceof_tfunc`. I also found a similar issue inside
    `nfields_tfunc`, so that has also been fixed, and test cases have been
    added. While I haven't been able to make up a test case specifically for
    the fix in `instanceof_tfunc`, I have confirmed that this commit
    certainly fixes the issue reported in #55882.
    
    - fixes #55882
    aviatesk committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    204b0b9 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Configuration menu
    Copy the full SHA
    c3490ed View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. Configuration menu
    Copy the full SHA
    16462c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. build: ASAN fixes for glibc (#51755)

    For the `sigsetjmp` bypass; looks like glibc removed the
    `__libc_siglongjmp` symbol in glibc 2.34, so change to using the
    approach taking by our `dlopen` wrapper instead.
    
    Adopts topolarity's fixes from #50170
    Resolves #47698
    
    Co-authored-by: Jameson Nash <vtjnash@gmail.com>
    (cherry picked from commit 5cb0e51)
    maleadt authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    f3257a0 View commit details
    Browse the repository at this point in the history
  2. 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)
    norci authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    812cbc9 View commit details
    Browse the repository at this point in the history
  3. [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)
    giordano authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    c5caf18 View commit details
    Browse the repository at this point in the history
  4. fall back to slower stat filesize if optimized filesize fails (#55641)

    (cherry picked from commit fc9f147)
    IanButterworth authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    d2e5c8f View commit details
    Browse the repository at this point in the history
  5. Mmap: fix grow! for non file IOs (#55849)

    Fixes #54203
    Requires #55641
    
    Based on
    #55641 (comment)
    cc. @JakeZw @ronisbr
    
    ---------
    
    Co-authored-by: Jameson Nash <vtjnash@gmail.com>
    (cherry picked from commit b0db75d)
    IanButterworth authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    dcf8f65 View commit details
    Browse the repository at this point in the history
  6. Fix logic in ? docstring example (#55945)

    (cherry picked from commit 81ce6a4)
    IanButterworth authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    f86b11f View commit details
    Browse the repository at this point in the history
  7. Profile: document heap snapshot viewing tools (#55743)

    (cherry picked from commit 3a132cf)
    nsajko authored and KristofferC committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ec1d55a View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Sockets: Warn when local network access not granted. (#56023)

    Works around #56022
    
    (cherry picked from commit c7071e1)
    maleadt authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    56e1364 View commit details
    Browse the repository at this point in the history
  2. Fix solve for complex Hermitian with non-vanishing imaginary part o…

    …n diagonal (#54276)
    
    (cherry picked from commit e80a880)
    dkarrasch authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2d6e88f View commit details
    Browse the repository at this point in the history
  3. Improve error message in inplace transpose (#54669)

    (cherry picked from commit 9eb7a0c)
    jishnub authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    36ff239 View commit details
    Browse the repository at this point in the history
  4. LAPACK: Aggressive constprop to concretely infer syev!/syevd! (#55295)

    Currently, these are inferred as a 2-Tuple of possible return types
    depending on `jobz`, but since `jobz` is usually a constant, we may
    propagate it aggressively and have the return types inferred concretely.
    
    (cherry picked from commit 686804d)
    jishnub authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    beb0c7d View commit details
    Browse the repository at this point in the history
  5. avoid overflowing show for OffsetArrays around typemax (#55303)

    (cherry picked from commit f225f84)
    mbauman authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a620a4e View commit details
    Browse the repository at this point in the history
  6. Ensure bidiagonal setindex! does not read indices in error message (#…

    …55342)
    
    This fixes the error message if the matrix is uninitialized. This is
    because a `Bidiagonal` with `uplo == 'L'` may still be `istriu` if the
    subdiaognal is zero. We only care about the band index in the error
    message, and not the values.
    
    (cherry picked from commit f2f188d)
    jishnub authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    4b55053 View commit details
    Browse the repository at this point in the history
  7. Fix fast getptls ccall lowering. (#55507)

    (cherry picked from commit 5a633b7)
    gbaraldi authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    fa29d0a View commit details
    Browse the repository at this point in the history
  8. Fix tr for Symmetric/Hermitian block matrices (#55522)

    Since `Symmetric` and `Hermitian` symmetrize the diagonal elements of
    the parent, we can't forward `tr` to the parent unless it is already
    symmetric. This limits the existing `tr` methods to matrices of
    `Number`s, which is the common use-case. `tr` for `Symmetric` block
    matrices would now use the fallback implementation that explicitly
    computes the `diag`.
    This resolves the following discrepancy:
    ```julia
    julia> S = Symmetric(fill([1 2; 3 4], 3, 3))
    3×3 Symmetric{AbstractMatrix, Matrix{Matrix{Int64}}}:
     [1 2; 2 4]  [1 2; 3 4]  [1 2; 3 4]
     [1 3; 2 4]  [1 2; 2 4]  [1 2; 3 4]
     [1 3; 2 4]  [1 3; 2 4]  [1 2; 2 4]
    
    julia> tr(S)
    2×2 Matrix{Int64}:
     3   6
     9  12
    
    julia> sum(diag(S))
    2×2 Symmetric{Int64, Matrix{Int64}}:
     3   6
     6  12
    ```
    
    (cherry picked from commit 9738bc7)
    jishnub authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5036b77 View commit details
    Browse the repository at this point in the history
  9. 🤖 [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)
    DilumAluthgeBot authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    c3ea488 View commit details
    Browse the repository at this point in the history
  10. Update TaskLocalRNG docstring according to #49110 (#55863)

    Since #49110, which is included in 1.10 and 1.11, spawning a task no
    longer advances the parent task's RNG state, so this statement in the
    docs was incorrect.
    
    (cherry picked from commit c601b11)
    danielwe authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0ccb8b6 View commit details
    Browse the repository at this point in the history
  11. Initialize threadpools correctly during sysimg build (#55567)

    I made a mistake with which threadpool was which.
    
    (cherry picked from commit d5bbcc5)
    gbaraldi authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    4d46082 View commit details
    Browse the repository at this point in the history
  12. Fix indexing in _mapreducedim for OffsetArrays (#55506)

    The destination array was being indexed incorrectly if it had offset
    indices. This led to the following on nightly:
    ```julia
    julia> using OffsetArrays
    
    julia> r = 5:100;
    
    julia> a = OffsetVector(r, 2);
    
    julia> sum(a, dims=1)
    1-element OffsetArray(::Vector{Int64}, 3:3) with eltype Int64 with indices 3:3:
     0
    
    julia> sum(a)
    5040
    ```
    The indexing was marked `@inbounds`, so this was not throwing an error.
    This PR also follows #55329 and only marks the indexing operations as
    `@inbounds`, omitting the function calls.
    
    ---------
    
    Co-authored-by: Matt Bauman <mbauman@juliahub.com>
    (cherry picked from commit 3d20a92)
    jishnub authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    cecd5f2 View commit details
    Browse the repository at this point in the history
  13. LazyString in interpolated error messages involving types (#54737)

    These are often badly inferred, e.g. in:
    ```julia
    julia> @report_opt 2//2
    ┌ Warning: skipping (::Base.var"#show_bound#661")(io::IO, b) @ Base show.jl:2777 to avoid parsing too much code
    └ @ Revise ~/.julia/packages/Revise/bAgL0/src/packagedef.jl:1092
    ┌ Warning: skipping (::Base.var"#show_bound#661")(io::IO, b) @ Base show.jl:2777 to avoid parsing too much code
    └ @ Revise ~/.julia/packages/Revise/bAgL0/src/packagedef.jl:1092
    ═════ 32 possible errors found ═════
    ┌ //(n::Int64, d::Int64) @ Base ./rational.jl:84
    │┌ Rational(n::Int64, d::Int64) @ Base ./rational.jl:48
    ││┌ Rational{Int64}(num::Int64, den::Int64) @ Base ./rational.jl:32
    │││┌ __throw_rational_argerror_zero(T::Type{Int64}) @ Base ./rational.jl:30
    ││││┌ string(::String, ::Type{Int64}, ::String, ::Type{Int64}, ::String) @ Base ./strings/io.jl:189
    │││││┌ print_to_string(::String, ::Type{Int64}, ::String, ::Type{Int64}, ::String) @ Base ./strings/io.jl:148
    ││││││┌ print(io::IOBuffer, x::DataType) @ Base ./strings/io.jl:35
    │││││││┌ show(io::IOBuffer, x::DataType) @ Base ./show.jl:970
    ││││││││┌ _show_type(io::IOBuffer, x::Type) @ Base ./show.jl:975
    │││││││││┌ show_typealias(io::IOBuffer, x::Type) @ Base ./show.jl:810
    ││││││││││┌ make_typealias(x::Type) @ Base ./show.jl:620
    │││││││││││┌ modulesof!(s::Set{Module}, x::Type) @ Base ./show.jl:595
    ││││││││││││ runtime dispatch detected: Base.modulesof!(s::Set{Module}, %20::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ modulesof!(s::Set{Module}, x::Type) @ Base ./show.jl:596
    ││││││││││││ runtime dispatch detected: Base.modulesof!(s::Set{Module}, %34::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ modulesof!(s::Set{Module}, x::TypeVar) @ Base ./show.jl:589
    ││││││││││││ runtime dispatch detected: Base.modulesof!(s::Set{Module}, %1::Any)::Set{Module}
    │││││││││││└────────────────────
    │││││││││┌ show_typealias(io::IOBuffer, x::Type) @ Base ./show.jl:813
    ││││││││││┌ show_typealias(io::IOBuffer, name::GlobalRef, x::Type, env::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:760
    │││││││││││┌ show_typeparams(io::IOContext{IOBuffer}, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:724
    ││││││││││││┌ show(io::IOContext{IOBuffer}, tv::TypeVar) @ Base ./show.jl:2788
    │││││││││││││┌ (::Base.var"#show_bound#661")(io::IOContext{IOBuffer}, b::Any) @ Base ./show.jl:2780
    ││││││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, b::Any)::Any
    │││││││││││││└────────────────────
    │││││││││││┌ show_typeparams(io::IOContext{IOBuffer}, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:719
    ││││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %252::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ show_typeparams(io::IOContext{IOBuffer}, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:722
    ││││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %313::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ show_typeparams(io::IOContext{IOBuffer}, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:727
    ││││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %191::Any)::Any
    │││││││││││└────────────────────
    ││││││││┌ _show_type(io::IOBuffer, x::Type) @ Base ./show.jl:978
    │││││││││┌ show_datatype(io::IOBuffer, x::DataType) @ Base ./show.jl:1094
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1097
    │││││││││││┌ maybe_kws_nt(x::DataType) @ Base ./show.jl:1085
    ││││││││││││ runtime dispatch detected: eltype(%76::DataType)::Any
    │││││││││││└────────────────────
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1186
    │││││││││││┌ show_typeparams(io::IOBuffer, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:724
    ││││││││││││┌ show(io::IOBuffer, tv::TypeVar) @ Base ./show.jl:2788
    │││││││││││││┌ (::Base.var"#show_bound#661")(io::IOBuffer, b::Any) @ Base ./show.jl:2780
    ││││││││││││││ runtime dispatch detected: show(io::IOBuffer, b::Any)::Any
    │││││││││││││└────────────────────
    │││││││││││┌ show_typeparams(io::IOBuffer, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:719
    ││││││││││││ runtime dispatch detected: show(io::IOBuffer, %250::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ show_typeparams(io::IOBuffer, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:722
    ││││││││││││ runtime dispatch detected: show(io::IOBuffer, %310::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ show_typeparams(io::IOBuffer, env::Core.SimpleVector, orig::Core.SimpleVector, wheres::Vector{TypeVar}) @ Base ./show.jl:727
    ││││││││││││ runtime dispatch detected: show(io::IOBuffer, %190::Any)::Any
    │││││││││││└────────────────────
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1157
    │││││││││││ runtime dispatch detected: show(io::IOBuffer, %224::Any)::Any
    ││││││││││└────────────────────
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1162
    │││││││││││ runtime dispatch detected: show(io::IOBuffer, %54::Any)::Any
    ││││││││││└────────────────────
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1148
    │││││││││││ runtime dispatch detected: show(io::IOBuffer, %57::Any)::Any
    ││││││││││└────────────────────
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1150
    │││││││││││ runtime dispatch detected: show(io::IOBuffer, %54::Any)::Any
    ││││││││││└────────────────────
    ││││││││││┌ show_datatype(io::IOBuffer, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1172
    │││││││││││ runtime dispatch detected: Base.show_at_namedtuple(io::IOBuffer, %329::Tuple, %328::DataType)::Any
    ││││││││││└────────────────────
    ││││││││┌ _show_type(io::IOBuffer, x::Type) @ Base ./show.jl:981
    │││││││││┌ show_unionaliases(io::IOBuffer, x::Union) @ Base ./show.jl:901
    ││││││││││┌ make_typealiases(x::Union) @ Base ./show.jl:822
    │││││││││││┌ modulesof!(s::Set{Module}, x::Union) @ Base ./show.jl:595
    ││││││││││││ runtime dispatch detected: Base.modulesof!(s::Set{Module}, %3::Any)::Any
    │││││││││││└────────────────────
    │││││││││││┌ modulesof!(s::Set{Module}, x::Union) @ Base ./show.jl:596
    ││││││││││││ runtime dispatch detected: Base.modulesof!(s::Set{Module}, %17::Any)::Any
    │││││││││││└────────────────────
    │││││││││┌ show_unionaliases(io::IOBuffer, x::Union) @ Base ./show.jl:914
    ││││││││││ runtime dispatch detected: show(io::IOBuffer, %89::Any)::Any
    │││││││││└────────────────────
    │││││││││┌ show_unionaliases(io::IOBuffer, x::Union) @ Base ./show.jl:920
    ││││││││││ runtime dispatch detected: Base.show_typealias(io::IOBuffer, %206::Any, x::Union, %204::Core.SimpleVector, %205::Vector{TypeVar})::Any
    │││││││││└────────────────────
    │││││││││┌ show_unionaliases(io::IOBuffer, x::Union) @ Base ./show.jl:928
    ││││││││││ runtime dispatch detected: Base.show_typealias(io::IOBuffer, %269::Any, x::Union, %267::Core.SimpleVector, %268::Vector{TypeVar})::Any
    │││││││││└────────────────────
    ││││││││┌ _show_type(io::IOBuffer, x::Type) @ Base ./show.jl:985
    │││││││││┌ show_delim_array(io::IOBuffer, itr::Vector{Any}, op::Char, delim::Char, cl::Char, delim_one::Bool) @ Base ./show.jl:1392
    ││││││││││┌ show_delim_array(io::IOBuffer, itr::Vector{Any}, op::Char, delim::Char, cl::Char, delim_one::Bool, i1::Int64, l::Int64) @ Base ./show.jl:1403
    │││││││││││ runtime dispatch detected: show(%3::IOContext{IOBuffer}, %52::Any)::Any
    ││││││││││└────────────────────
    ││││││││┌ _show_type(io::IOBuffer, x::Type) @ Base ./show.jl:1012
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1185
    ││││││││││┌ show_type_name(io::IOContext{IOBuffer}, tn::Core.TypeName) @ Base ./show.jl:1059
    │││││││││││ runtime dispatch detected: Base.isvisible(%29::Symbol, %86::Module, %80::Any)::Bool
    ││││││││││└────────────────────
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1157
    ││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %227::Any)::Any
    │││││││││└────────────────────
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1162
    ││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %55::Any)::Any
    │││││││││└────────────────────
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1148
    ││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %58::Any)::Any
    │││││││││└────────────────────
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1150
    ││││││││││ runtime dispatch detected: show(io::IOContext{IOBuffer}, %55::Any)::Any
    │││││││││└────────────────────
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1172
    ││││││││││ runtime dispatch detected: Base.show_at_namedtuple(io::IOContext{IOBuffer}, %338::Tuple, %337::DataType)::Any
    │││││││││└────────────────────
    │││││││││┌ show_datatype(io::IOContext{IOBuffer}, x::DataType, wheres::Vector{TypeVar}) @ Base ./show.jl:1180
    ││││││││││ runtime dispatch detected: Base.show_at_namedtuple(io::IOContext{IOBuffer}, %387::Tuple, %391::DataType)::Any
    │││││││││└────────────────────
    ││││││││┌ _show_type(io::IOBuffer, x::Type) @ Base ./show.jl:1014
    │││││││││ runtime dispatch detected: show(%98::IOContext{IOBuffer}, %99::Any)::Any
    ││││││││└────────────────────
    │││││││┌ show(io::IOBuffer, x::DataType) @ Base ./show.jl:970
    ││││││││ runtime dispatch detected: Base._show_type(io::IOBuffer, %1::Any)::Nothing
    │││││││└────────────────────
    ```
    
    I haven't looked through all instances thoroughly, just a quick `grep`.
    However, this PR should address several common cases.
    
    (cherry picked from commit 2230f79)
    jishnub authored and KristofferC committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    55a30d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    3ba6c16 View commit details
    Browse the repository at this point in the history
  2. [LinearAlgebra] Remove unreliable doctests (#56011)

    The exact textual representation of the output of these doctests depend
    on the specific kernel used by the BLAS backend, and can vary between
    versions of OpenBLAS (as it did in #41973), or between different CPUs,
    which makes these doctests unreliable.
    
    Fix #55998.
    
    (cherry picked from commit c2a2e38)
    giordano authored and KristofferC committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    25ee4ea View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. bump Pkg to latest 1.10

    KristofferC committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    ecf3a5d View commit details
    Browse the repository at this point in the history