Skip to content

Commit 910bf7e

Browse files
authored
[REPL] raise default implicit show limit to 1MiB (JuliaLang#56297)
JuliaLang#53959 (comment) I would like to understand more where these issues are coming from; it would be easy to exempt some types from Base or Core with ```julia REPL.show_limited(io::IO, mime::MIME, x::SomeType) = show(io, mime, x) ``` but I'm not sure which are causing problems in practice. But meanwhile I think raising the limit makes sense.
1 parent 5848445 commit 910bf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/REPL/src/REPL.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ function repl_backend_loop(backend::REPLBackend, get_module::Function)
484484
return nothing
485485
end
486486

487-
SHOW_MAXIMUM_BYTES::Int = 20480
487+
SHOW_MAXIMUM_BYTES::Int = 1_048_576
488488

489489
# Limit printing during REPL display
490490
mutable struct LimitIO{IO_t <: IO} <: IO

0 commit comments

Comments
 (0)