Printing of Arrays without spaces

In previous version of Julia, printing an array was done without inserting spaces

[8,7,6,5,4,3,2,1]

Now in 0.6, it has spaces

[8, 7, 6, 5, 4, 3, 2, 1]

where can I find the method in Base that I would have to overwrite in my .juliarc.jl in order to modify the printing to be without the spaces?

It’s preferred by me since certain matrices I need to print will be aligned more neatly without the spaces.

Alright, so I was able to achieve this by modifying Base.show_delim_array method.

However, logging(DevNull,Base,:show_delim_array;kind=:warn) does not seem to suppress the warnings from .juliarc.jl, how can I suppress the warnings correctly?

This seems to be a bug with the logging function when used from .juliarc.jl so I opened an issue #24028

1 Like