-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Tuple not displaying properly in REPL #7434
Comments
Can you post the output of |
I'm having the same problem. This is only on my windows machine, not on the mac.
|
|
I see this at the REPL, but not in IJulia. @stevengj, any ideas? |
Looks like this is architecture-specific, too. I don't see it on my Sandy Bridge Xeon E31235 (x86_64-w64-mingw32). |
I can't reproduce on MacOS in either the REPL or IJulia. Note that both the REPL and IJulia use the same |
Hmmm, I can't seem to reproduce with julia> writemime(STDOUT,MIME("text/plain"),(1,1,1))
(1,1,1)
julia> show(STDOUT,(1,1,1))
(1,1,1)
julia> writemime(STDOUT,MIME("text/plain"),(1,1,1))
(1,1,1)
julia> (1,1,1)
(1,1,0) |
I suspect this is Windows REPL only, and maybe only Windows REPL only on certain architectures. I see it on my Haswell machines. |
Tried with LLVM 3.5 (I can reproduce with 3.3) and the problem went away. So I'm gonna assume this is fixed in 3.5 and not try to track this down. |
Looks like this one is pretty closed down, but I can reproduce this in the newest 0.3.0 version (Intel i7-4700MQ, Haswell, Windows 7 64). julia> a = (1, 5, 9)
(1,5,0)
julia> a[end]
9
julia> versioninfo()
Julia Version 0.3.0
Commit 7681878 (2014-08-20 20:43 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3 |
I was able to reproduce with generic but not specialized julia> b = (1,2,3)
(1,2,0)
julia> display(b)
(1,2,0)
julia> display(Base.Multimedia.displays[1], b)
(1,2,3)
julia> display(Base.Multimedia.displays[2], b)
(1,2,3) Note: displays[2] corresponds to the REPL display used in the first two examples. |
This keeps being reported. Maybe worth looking for a fix? Or do you want to switch to LLVM 3.5 for 0.3.1 (risky...)? |
I observed this too, using Ivy Bridge Intel Core i5-3550 on 64-bit Windows 7 on Julia 0.3.0 64-bit. Glad to hear it isn't affecting the actual computations, although it was a bit amusing when I first noticed it. |
There are test failures on win64 with LLVM 3.5.0, so I don't think this display problem is worth switching for just yet. |
I also still have this issue in 0.3.5 julia> A = (1,2,3) julia> A julia> versioninfo() |
@adijkstra, that is expected; we are unlikely to be updating the LLVM dependency to 3.5 or later, where the problem is fixed, in the 0.3.x series of Julia releases due to extensive changes in LLVM's APIs. Note from your |
Given that it's looking like we'll also have to stay on LLVM 3.3 for Julia 0.4.0, would it be worth digging into exactly where in the show pipeline this happens? I unfortunately don't have reliable access to a machine where this happens. |
The text was updated successfully, but these errors were encountered: