Difference between output from "versioninfo()" and "versioninfo(true::Bool)

question

#1

Using Ubuntu 16.04/AMD64 with Julia Version 0.6.0-dev.2836 via Github.

I am writing a script that executes a super versioninfo and formats it for pasting to a Gist or sending via email and I just noticed a slight difference in the output from the two versioninfo commands on my system:

Short

julia> versioninfo()
Julia Version 0.6.0-dev.2836
Commit 3958491 (2017-02-17 04:31 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: AMD FX(tm)-8320 Eight-Core Processor
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Piledriver)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, bdver1)

Verbose

julia> versioninfo(true::Bool)
Julia Version 0.6.0-dev.2836
Commit 3958491 (2017-02-17 04:31 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: AMD FX(tm)-8320 Eight-Core Processor
  WORD_SIZE: 64
           Ubuntu 16.04.2 LTS
  uname: Linux 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64
... chop rest of output

As you can see, there is some variable weirdness after the WORD_SIZE entries and yes, it is super pedantic but I do not like stuff that goes weird.

Worth a PR, or raising a bug?

TIA, JNA.


#2

If it really bothers you, I would suggest that you make a PR. If you just open an issue, it is unlikely that it would be treated as a high-priority one.


#3

Fair point. Perhaps I should see if I can fix it first, I’m guessing that it is likely something simple perhaps a deprecated flag or variable etc.

The big question is then; where does the code for versioninfo() etc live?

I lurked through /…/julia/base and found 3 version* .jl files. Are they the correct ones? Excuse my ignorance, I am trying hard to get my head around the Julia source tree.


#4

Try

@edit versioninfo()

#5

Ahhh, that’s magic! Thanks.

@jna runs off to @edit *()