Skip to content

Commit

Permalink
Merge pull request #32270 from JuliaLang/backports-1.2.0-rc2
Browse files Browse the repository at this point in the history
Backports 1.2.0 rc2
  • Loading branch information
ararslan authored Jul 8, 2019
2 parents 3fcb168 + 2e72bca commit a4129ea
Show file tree
Hide file tree
Showing 203 changed files with 534 additions and 318 deletions.
5 changes: 1 addition & 4 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,7 @@ else ifeq ($(OS), Darwin)
RPATH_ESCAPED_ORIGIN := $(RPATH_ORIGIN)
RPATH_LIB := -Wl,-rpath,'@loader_path/julia/' -Wl,-rpath,'@loader_path/'
else
RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin
ifeq ($(OS), FreeBSD)
RPATH += -Wl,-rpath,'$$ORIGIN/$(build_private_libdir_rel)'
endif
RPATH := -Wl,-rpath,'$$ORIGIN/$(build_libdir_rel)' -Wl,-rpath,'$$ORIGIN/$(build_private_libdir_rel)' -Wl,-rpath-link,$(build_shlibdir) -Wl,-z,origin
RPATH_ORIGIN := -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin
RPATH_ESCAPED_ORIGIN := -Wl,-rpath,'\$$\$$ORIGIN' -Wl,-z,origin -Wl,-rpath-link,$(build_shlibdir)
RPATH_LIB := -Wl,-rpath,'$$ORIGIN/julia' -Wl,-rpath,'$$ORIGIN' -Wl,-z,origin
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ Standard library changes
form `kron(u, v')`, `u * v'`, and `u .* v'` where `u` and `v` are sparse vectors or column
views ([#24980]).

#### Sockets

* `getipaddrs` returns IP addresses in the order provided by libuv ([#32260]).
* `getipaddr` prefers to return the first `IPv4` interface address provided by libuv ([#32260]).

#### Statistics
* `quantile` now accepts in all cases collections whose `eltype` is not a subtype of `Number` ([#30938]).

Expand Down
9 changes: 6 additions & 3 deletions base/compiler/abstractinterpretation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,13 @@ function precise_container_type(@nospecialize(typ), vtypes::VarTable, sv::Infere
tti0 = widenconst(typ)
tti = unwrap_unionall(tti0)
if isa(tti, DataType) && tti.name === NamedTuple_typename
tti0 = tti.parameters[2]
while isa(tti0, TypeVar)
tti0 = tti0.ub
# A NamedTuple iteration is the the same as the iteration of its Tuple parameter:
# compute a new `tti == unwrap_unionall(tti0)` based on that Tuple type
tti = tti.parameters[2]
while isa(tti, TypeVar)
tti = tti.ub
end
tti0 = rewrap_unionall(tti, tti0)
end
if isa(tti, Union)
utis = uniontypes(tti)
Expand Down
2 changes: 1 addition & 1 deletion base/download.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function find_curl()
"/usr/bin/curl"
elseif Sys.iswindows() && Sys.isexecutable(joinpath(get(ENV, "SYSTEMROOT", "C:\\Windows"), "System32\\curl.exe"))
joinpath(get(ENV, "SYSTEMROOT", "C:\\Windows"), "System32\\curl.exe")
elseif Sys.which("curl") !== nothing
elseif !Sys.iswindows() && Sys.which("curl") !== nothing
"curl"
else
nothing
Expand Down
6 changes: 4 additions & 2 deletions base/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ function tryparse_internal(::Type{T}, s::AbstractString, startpos::Int, endpos::
_Z = UInt32('Z')
_z = UInt32('z')
while n <= m
_c = UInt32(c)
# Fast path from `UInt32(::Char)`; non-ascii will be >= 0x80
_c = reinterpret(UInt32, c) >> 24
d::T = _0 <= _c <= _9 ? _c-_0 :
_A <= _c <= _Z ? _c-_A+ UInt32(10) :
_a <= _c <= _z ? _c-_a+a : base
Expand All @@ -142,7 +143,8 @@ function tryparse_internal(::Type{T}, s::AbstractString, startpos::Int, endpos::
end
(T <: Signed) && (n *= sgn)
while !isspace(c)
_c = UInt32(c)
# Fast path from `UInt32(::Char)`; non-ascii will be >= 0x80
_c = reinterpret(UInt32, c) >> 24
d::T = _0 <= _c <= _9 ? _c-_0 :
_A <= _c <= _Z ? _c-_A+ UInt32(10) :
_a <= _c <= _z ? _c-_a+a : base
Expand Down
4 changes: 2 additions & 2 deletions base/strings/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function lpad(
n::Integer,
p::Union{AbstractChar,AbstractString}=' ',
) :: String
m = n - length(s)
m = signed(n) - length(s)
m 0 && return string(s)
l = length(p)
q, r = divrem(m, l)
Expand All @@ -272,7 +272,7 @@ function rpad(
n::Integer,
p::Union{AbstractChar,AbstractString}=' ',
) :: String
m = n - length(s)
m = signed(n) - length(s)
m 0 && return string(s)
l = length(p)
q, r = divrem(m, l)
Expand Down
2 changes: 1 addition & 1 deletion base/task.jl
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ end

function enq_work(t::Task)
(t.state == :runnable && t.queue === nothing) || error("schedule: Task not runnable")
if t.sticky
if t.sticky || Threads.nthreads() == 1
tid = Threads.threadid(t)
if tid == 0
tid = Threads.threadid()
Expand Down
2 changes: 1 addition & 1 deletion contrib/normalize_triplet.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def p(x):
"7": "gcc7",
"8": "gcc8",
"9": "gcc8",
}[list(filter(lambda x: re.match("\d+\.\d+\.\d+", x), sys.argv[2].split()))[-1][0]]
}[list(filter(lambda x: re.match("\d+\.\d+(\.\d+)?", x), sys.argv[2].split()))[-1][0]]

if cxx_abi == "blank_cxx_abi":
if len(sys.argv) == 4:
Expand Down
2 changes: 1 addition & 1 deletion deps/Versions.make
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PCRE_VER = 10.31
PCRE_BB_REL = 0
DSFMT_VER = 2.2.3
OPENBLAS_VER = 0.3.5
OPENBLAS_BB_REL = 1
OPENBLAS_BB_REL = 2
LAPACK_VER = 3.5.0
SUITESPARSE_VER = 5.4.0
SUITESPARSE_BB_REL = 2
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14d62da838b053ab78c3c84a8df7c429
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0141f903dbc62ccdcf01d8722ce7b03c74d94c661be796c1a242b0f385f891c15daf015331029b8ed692867d2e7f8303fa3d5c443ee65a9cfb9b78e3663617ab
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a16f6e2bffd56d76735d64a36852f650
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cc164665889562b2e86c4387f85175bd20bd665fc0ce2842a28107eea7f67d49f58067c2face4d768fffec7eb6ca17450c9f07b927b897bed4114e43bde0e83a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8d492b89b0b1c09e620647976df19512
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ff3de25afefc10577c7860cd3fb9496585b763aad683ee39ccbbb596223910ace4b8411fc1f20a3b5708098cafcfe31b873009cf12777cd9b9c4b8d462122fd6
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9d7a69fe6ed99592087f3b81c6b1c8a1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7c2029a0e9f9efc59813f99fd220a7c8796989db47758857da31b8c794d92de167f35992d399301d79641f79f3b2831afe83af1e85ad99fe4153248dbe5badaf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
93a1250c75e7cec00a52c091a6fa89cc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1949277d8a762c2f0d8bd37fcc10d97420b82d5a96da2987323ec7d6954b36b7eae52732499e7a054adae1b395158e46eda41daf1e0008c23a02fe4f8059ee3c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f8e98218f3a832972531924b770cf8fe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7a4064f5e79dd11cc14d85dc1e37fd923cebaebc92483a1c90e7a73b072d789a87fb3b0c46bfd0668307e4bb32c2c4af3f190eac2da934f37d61d81b980a878b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
636d2d2c14abc9e3b14d1dc546ad8935
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3394f5ee2f35c168e7f6be9c0653dd157e7da49040b9ec94d6f4d6d1ad2736cdc6f10f6626f08548238c3a11b69ffefa159c5495d1fe58855c0c41c2383641fd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a336efef9cf11945477b2bb805282810
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8c0e558aa047f60a5e695229b0f7585363448dd2b61c0a193bdf00d27fffecd3a9c37a0e423821af7beb909c874074fe7a1d4d4cec623bd964205ee20d2e3b23
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
28dd6d175a5a6fe86a4d01f9031b76cf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
986cabd473a353731479036db91f4a462fe6b389ddee35aacb3f66a15df8e1d38956c385d3ef02e399bde70458a3fc6b769466db652f4495abd7d7d2ff0b26b1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1487ee7fb0ff0e2824be40dfa79badff
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecd8abcb46bd26e72e6ccda2ef463521629dcf6132dd065079b8da71e7291c0561c801bf7c94a467b6aa2839539ee990ccf4b4ea5160f492fb704b2ffcfe0283
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c478e1ae81917a27fffbdef01829d79e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22aef28d214c41556fc45ffc3903073bd7f5b44ec6714f4c9d8f50757200c89c3da3e61d96ab587dc353ec4e88b67b8c553c938ecb32261347b1e3c5e8901c0e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fb6116f48854a9e183d6c6773e889756
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
33edfa3fe05f2e6a246eda391813e8db30ed744789032e499cbfb4e1f9f73c67ce6e439dc7ca4795d8b38b9dab6420979f51ef818511e8601398144ef41f7b2e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
15c38ae63c6c70bbcf7e52bff16ec915
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5f2464ad3b56cec0ca343f301460819141dec3217cf15b171da657768571eae77313ce156d56fd5cc76c6d95758597015dc7d04e209c0ffb0dcbeedb99d788e0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ad1c639472af0e6245f8faa5cbf65f57
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fe85b545b4e0787fc1b6c1f2948a4db09eafe365c1bf52a5979430f014d23a8713bb7c1ff29264fa02e16736b9407c7aaf56416354dd3c1e2e2ae9b32a00f5d2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e25cb820b2eb0d593fb0c875ae2086a1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6b5d4f21609f9382d01b4e5c4b7becbf61b50aa3c20f0db6a78736506ad83b0ec7225790f1127d1601bb96ea3318d3704b18e71fd6c1559006147525cb2b3389
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f2c96e84acbded44c263270367b6cf9f
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3d0d2fac80ec4760c96740e4607086b192d3309ae5bd5b43288655137b5a2a4c78448b283cd50c935f2ad742348bb4770213446c31216972ed1ecf520e34c629
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
520372fb05206ac794ff2ac5d23234b4
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
92ffc6f2d0fbf6c79dba8f47f44ca7ca11a12e5e6ad43e88d166ba66fcc2b82f62f914ef97ae0831267309ee10c450e191ae0dae51eaf969315e4d3539a8ab57
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c94c117ba0d7eeeb59df74ffe3733431
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dd11c827b50e5983ed7705dcebfb50249ebbaf661a371d7d0e4f2a8d7401d9999def5bf2491c2461a4dd9b582e714d9350c70298ef388cb32a4d38060a124d88
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fb8b0d915623c27936ea293a2eb2850e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e3600b813bc7ba5f736899348bf34965f3affead6fadc71555b8bc5e338b06e90a6865a409186604b0fc2d3bdf84ff2e2bf103909cbf7c253dfaff030bbe21fb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5b9eabe82ad7de280d739f2d594e8fdc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a532481b46d1d7999618676b5d9eba5fd527d25dca5ac2666d9a2258245d77aef742bb2909ff70543d7a06e5182a99fd6c356f3c59c8aff822f9280cbcaa9cf3
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d02eacbfb41fe7827331865396707b4b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8c58b822ecfef7192cf36ff391bf34087eecad299c4417da06fdd990c2e71daf8b717770eabeca7e5b67a020b415b9294d44ac897ccb503a1a34943cd563efc5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d1e4a5d1a43e018b67532fa98081206e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4357a9f323739c90e6f1e0797be0d8f11e36fbfa9f8a64a6050833244a786166a8391e2c73b1f8130fa83db3d57b58fd48bf2081ba79992b452ffec57d1759a2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2c7930c84ea6cd11c69aa25941087f5c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a53d47e1d7ff25258b20394195e374c9f986b2e7edb0dd66c314a5f12a7d28b4518e5ab87fe5f0feaac99c2f2961292b1ce1d5436ea83104bf089d3d08607d93
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1b881141039ba34a7f2c29cef9305062
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23ab0524b4403e002bdf280f83fb955de11176fdf7cfaed3f9197993f7c09ad5c1fea14dc6402f1756272aa5e427ffd904418db4de02ea9efbc96de60baf6ee5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eda2584e55dc066e5549048b84b35f05
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3034f82dc2e06f8f3474ffd6c9692d58186edb59f5f32578de9c21777fbff9def9abe000ca79ae5044be82825f70fab4a9612bbc8df7b0d23dfc77fa28b8f363
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa649a88f904208bc3e979af833c9ecd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c2d7c3a718106de87777beea3addd658ce06f7f1ed5973c5d17fcf97d958741a19df114f62771afc77a7f2c5e25f8302471772cafa30ee40ef7cdfebcec8477b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f3c53bfaabc5027cd95838524ed1ab4e
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cd40f1510f66071551ef1d752a64dada6cf82128b725030d8bab7a3cd4b25397b3504763f165498c7231f9c2577c5eddee4cd8b7d8810526221b15d3647ad9cc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d6452ff5d4fd1cf1d77239d22cf6a1b5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
801c374ee8e8f296e6b84536d2d719bee35e1f0380d947ea119d0a5ebfa7151e358a6228078b516338a4957580de63b3fa083d5be08be2930832c105286cfc49
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
124282a831a7d39036a7d3b391d513ec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2ff54c2700e5c1c1dd8bca51cbe8654aa364e5b57f871b6f2701f4a5412ff0ad64ce173fbd9ce7443b6625177e4d645991736966bfbf3fdbdc66bc96fc22d4a5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e0822060b13864f9b0a4416149d89336
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8beca6be0853117eae41b84e984601fd61ef15fd5f6555f1d71375d60a22693cdbfbfac93ec76dd14fa476a6d474b29e8c7efe96a4acb2e90433fe8f325690e1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4c3dffaacf774f5838cd2d0f178a4e67
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9552f805840c48ed24d65ac858ac13db158cb3579753400c778a3aabac39b20d47a59ab36c86293e5c8b15837e8567e8635792f5ee426be83d26cc6de7bfdcb0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d0724e5fd3ffdb759e293724f4b9fa73
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
00b6d2eb995e0c1d973e6d30bd70b92d7d2c5f6d14f9cb1788b16d772e91faef8b095e3ae13729c168088fe005caf2e303d51b9414c243b4e12d8beee7547d3d
Loading

0 comments on commit a4129ea

Please sign in to comment.