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
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
21ccfc0
mapreduce: don't inbounds unknown functions (#55329)
mbauman Aug 2, 2024
84139ed
ml-matches: ensure all methods are included (#55365)
vtjnash Aug 8, 2024
ecdbb39
fix hierarchy level of "API reference" in `Dates` documentation (#55483)
matthias314 Aug 13, 2024
75436e4
simplify complex atanh and remove singularity perturbation (#55268)
oscardssmith Aug 13, 2024
f4eda2d
Update symmetric docstring to reflect the type of uplo (#55504)
jishnub Aug 17, 2024
c7f5f2d
Set `.jl` sources as read-only during installation (#55524)
staticfloat Aug 19, 2024
c5ab7c9
[release-1.10] dont reset maxsize in jl_array_to_string (#55689)
d-netto Sep 12, 2024
f21154f
Root globals in toplevel exprs (#54433)
gbaraldi Sep 25, 2024
242f704
Fix some corner cases of `isapprox` with unsigned integers (#55828)
giordano Sep 26, 2024
204b0b9
inference: add missing `TypeVar` handling for `instanceof_tfunc` (#55…
aviatesk Sep 27, 2024
c3490ed
Avoid `stat`-ing stdlib path if it's unreadable (#55980)
giordano Oct 4, 2024
16462c5
🤖 [backports-release-1.10] Bump the Pkg stdlib from edfa2ed0e to e2f4…
DilumAluthgeBot Oct 5, 2024
f3257a0
build: ASAN fixes for glibc (#51755)
maleadt Nov 20, 2023
812cbc9
Fix shell `cd` error when working dir has been deleted (#41244)
norci Sep 17, 2024
c5caf18
[Dates] Make test more robust against non-UTC timezones (#55829)
giordano Sep 22, 2024
d2e5c8f
fall back to slower stat filesize if optimized filesize fails (#55641)
IanButterworth Sep 23, 2024
dcf8f65
Mmap: fix grow! for non file IOs (#55849)
IanButterworth Sep 24, 2024
f86b11f
Fix logic in `?` docstring example (#55945)
IanButterworth Oct 1, 2024
ec1d55a
Profile: document heap snapshot viewing tools (#55743)
nsajko Oct 5, 2024
56e1364
Sockets: Warn when local network access not granted. (#56023)
maleadt Oct 7, 2024
2d6e88f
Fix solve for complex `Hermitian` with non-vanishing imaginary part …
dkarrasch Apr 27, 2024
36ff239
Improve error message in inplace transpose (#54669)
jishnub Jun 4, 2024
beb0c7d
LAPACK: Aggressive constprop to concretely infer syev!/syevd! (#55295)
jishnub Jul 30, 2024
a620a4e
avoid overflowing show for OffsetArrays around typemax (#55303)
mbauman Jul 31, 2024
4b55053
Ensure bidiagonal setindex! does not read indices in error message (#…
jishnub Aug 3, 2024
fa29d0a
Fix fast getptls ccall lowering. (#55507)
gbaraldi Aug 16, 2024
5036b77
Fix tr for Symmetric/Hermitian block matrices (#55522)
jishnub Aug 19, 2024
c3ea488
🤖 [master] Bump the Downloads stdlib from 1061ecc to 89d3c7d (#55854)
DilumAluthgeBot Sep 24, 2024
0ccb8b6
Update TaskLocalRNG docstring according to #49110 (#55863)
danielwe Sep 25, 2024
4d46082
Initialize threadpools correctly during sysimg build (#55567)
gbaraldi Aug 27, 2024
cecd5f2
Fix indexing in _mapreducedim for OffsetArrays (#55506)
jishnub Aug 23, 2024
55a30d5
LazyString in interpolated error messages involving types (#54737)
jishnub Jun 10, 2024
3ba6c16
remove test that doesn't apply to 1.10
KristofferC Oct 16, 2024
25ee4ea
[LinearAlgebra] Remove unreliable doctests (#56011)
giordano Oct 6, 2024
ecf3a5d
bump Pkg to latest 1.10
Oct 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
avoid overflowing show for OffsetArrays around typemax (#55303)
(cherry picked from commit f225f84)
mbauman authored and KristofferC committed Oct 9, 2024
commit a620a4e17a43c91d6e87c9ffa0d20fb1bab15296
4 changes: 2 additions & 2 deletions base/show.jl
Original file line number Diff line number Diff line change
@@ -1345,11 +1345,11 @@ function show_delim_array(io::IO, itr::Union{AbstractArray,SimpleVector}, op, de
x = itr[i]
show(recur_io, x)
end
i += 1
if i > l
if i == l
delim_one && first && print(io, delim)
break
end
i += 1
first = false
print(io, delim)
print(io, ' ')
9 changes: 9 additions & 0 deletions test/offsetarray.jl
Original file line number Diff line number Diff line change
@@ -863,3 +863,12 @@ end
# this is fixed in #40038, so the evaluation of its CartesianIndices should work
@test CartesianIndices(A) == CartesianIndices(B)
end

@testset "overflowing show" begin
A = OffsetArray(repeat([1], 1), typemax(Int)-1)
b = IOBuffer(maxsize=10)
show(b, A)
@test String(take!(b)) == "[1]"
show(b, (A, A))
@test String(take!(b)) == "([1], [1])"
end