-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
readbytes and readall, replaced by read and readstring per #14660 #162
Conversation
const readall = readstring | ||
const readbytes = read | ||
export readall | ||
export readbytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's at least reversed. Also I believe only readstring
is a new name. Other ones shouldn't be overwirtten.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the tips @yuyichao!
And please use a more descriptive commit and PR title. |
@samoconnor Could you rebase against the current master and add some tests? Otherwise, LGTM. This will fix a lot of annoying deprecation warnings for web-related stuff. |
@jrevels, done |
|
Hi @tkelman, This is the code that is failing: for text in [
old_text,
UTF8String(['A' + i % 52 for i in 1:(div(Base.SZ_UNBUFFERED_IO,2))]),
UTF8String(['A' + i % 52 for i in 1:( Base.SZ_UNBUFFERED_IO -1)]),
UTF8String(['A' + i % 52 for i in 1:( Base.SZ_UNBUFFERED_IO )]),
UTF8String(['A' + i % 52 for i in 1:( Base.SZ_UNBUFFERED_IO +1)])
] It looks to me that the compiler ought to be able to tell that those are |
A type inference issue seems likely. Adding the |
@@ -560,3 +560,199 @@ Base.remote_do(() -> true, 1) # Doesn't return anything so cannot be `@test`ed b | |||
@test "1234" == @compat withenv("_TESTVAR" => 1234) do | |||
return ENV["_TESTVAR"] | |||
end | |||
|
|||
# https://github.com/JuliaLang/julia/pull/14660 | |||
mktempdir() do dir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This relies on JuliaLang/julia#9017, which was introduced in Julia 0.4.
Probably we should have a Compat shim for that mktempdir
feature on 0.3 as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see @tkelman commented on this above.
How's this PR doing? Can I help? Would love to see Requests.jl green again. |
A separate addition of |
OK, I'll do that today. On Sun, Feb 7, 2016 at 12:32 PM Tony Kelman notifications@github.com
|
Hi @malmaud, that would me much appreciated. |
You can download and extract a tarball binary to test against 0.3. It couldn't be any easier. |
@samoconnor OK, I'll take you up on that |
thanks @malmaud, do open a new pr so appveyor runs |
Turn on precompilation
Hi, @kmsquire, @nalimilan, re JuliaIO/GZip.jl#45 (comment): I've made an attempt. I haven't looked at Compat.jl before, so I'm not sure if I'm doing it right.