We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5fc97 commit 207ac8eCopy full SHA for 207ac8e
1 file changed
src/PyCall.jl
@@ -20,6 +20,10 @@ import Base: size, ndims, similar, copy, getindex, setindex!, stride,
20
pushfirst!, popfirst!, firstindex, lastindex,
21
getproperty, setproperty!, propertynames
22
23
+if isdefined(Base, :hasproperty) # Julia 1.2
24
+ import Base: hasproperty
25
+end
26
+
27
# Python C API is not interrupt-safe. In principle, we should
28
# use sigatomic for every ccall to the Python library, but this
29
# should really be fixed in Julia (#2622). However, we will
0 commit comments