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

Fix #14533 #14534

Merged
merged 1 commit into from
Jan 4, 2016
Merged

Fix #14533 #14534

merged 1 commit into from
Jan 4, 2016

Conversation

jgoldfar
Copy link
Contributor

@jgoldfar jgoldfar commented Jan 2, 2016

I tried to add a test case for this issue, but this appears to be a REPL-only error, at least to the extent that the test case

# issue #14533
function f14533_1()
    buf = IOBuffer()
    dump(buf, "TEST")
    takebuf_string(buf)
end
function f14533_2()
    buf = IOBuffer()
    xdump(buf, "TEST")
    takebuf_string(buf)
end

@test f14533_1() == "ASCIIString \"TEST\"\n"
@test f14533_2() == "ASCIIString \n  data: Array(UInt8,(4,)) UInt8[84,69,83,84]\n"

does not reproduce the issue. Interestingly (perhaps for a reason obvious to better-versed individuals) the output from xdump-ing to an IOBuffer differs from that just written to STDOUT. In fact, the error in #14533 can be avoided if you call dump(STDOUT, "TEST") which does not seem expected...

@jgoldfar
Copy link
Contributor Author

jgoldfar commented Jan 2, 2016

See also #13825, I think

@tkelman
Copy link
Contributor

tkelman commented Jan 2, 2016

ah right, messy to test these since the bug is only in the non-redirected versions

@tkelman
Copy link
Contributor

tkelman commented Jan 2, 2016

would generally prefer more descriptive commit messages though

@jgoldfar
Copy link
Contributor Author

jgoldfar commented Jan 2, 2016

Went ahead and replaced the commit with the same, plus more descriptive commit message.

@jgoldfar
Copy link
Contributor Author

jgoldfar commented Jan 2, 2016

Looks like AppVeyor is having a hard time finishing the build; passed with the same content before the last change. Ref: https://ci.appveyor.com/project/StefanKarpinski/julia/build/1.0.12248

@timholy
Copy link
Member

timholy commented Jan 4, 2016

CC @vtjnash. Bump again if you don't get a response soon.

vtjnash added a commit that referenced this pull request Jan 4, 2016
@vtjnash vtjnash merged commit c70ab26 into JuliaLang:master Jan 4, 2016
@tkelman
Copy link
Contributor

tkelman commented Jan 5, 2016

Could still really use a deprecation for with_output_limit, given it broke Coverage.jl and probably others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants