Yesterday afternoon, I made a new clone of julia - (0.3.0-prerelease+888) 
commit 119ebc2. After that, PyCall has
been complaining about ambiguous method definitions:

julia> using PyCall
Warning: New definition
    
convert(Type{Array{T<:Union(Int16,Int64,Int32,Uint32,Uint16,Uint64,Complex{Float32},Int8,Float64,Uint8,Float32,Ptr{PyObject_struct},Complex{Float64}),N}},PyObject)
 
at /usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/numpy.jl:393
is ambiguous with:
    convert(Type{Array{T,1}},PyObject) at 
/usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/conversions.jl:400.
To fix, define
    
convert(Type{Array{_<:Union(Int16,Int64,Int32,Uint32,Uint16,Uint64,Complex{Float32},Int8,Float64,Uint8,Float32,Ptr{PyObject_struct},Complex{Float64}),1}},PyObject)
before the new definition.
Warning: New definition
    
convert(Type{Array{T<:Union(Int16,Int64,Int32,Uint32,Uint16,Uint64,Complex{Float32},Int8,Float64,Uint8,Float32,Ptr{PyObject_struct},Complex{Float64}),N}},PyObject)
 
at /usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/numpy.jl:402
is ambiguous with:
    convert(Type{Array{T,1}},PyObject) at 
/usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/conversions.jl:400.
To fix, define
    
convert(Type{Array{_<:Union(Int16,Int64,Int32,Uint32,Uint16,Uint64,Complex{Float32},Int8,Float64,Uint8,Float32,Ptr{PyObject_struct},Complex{Float64}),1}},PyObject)
before the new definition.
Warning: New definition
    convert(Type{Array{PyObject,N}},PyObject) at 
/usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/numpy.jl:415
is ambiguous with:
    convert(Type{Array{T,1}},PyObject) at 
/usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/conversions.jl:400.
To fix, define
    convert(Type{Array{PyObject,1}},PyObject)
before the new definition.
Warning: New definition
    convert(Type{Array{PyObject,N}},PyObject) at 
/usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/numpy.jl:419
is ambiguous with:
    convert(Type{Array{T,1}},PyObject) at 
/usr/local/pkg/julia-0.3.0/share/julia/site/v0.3/PyCall/src/conversions.jl:400.
To fix, define
    convert(Type{Array{PyObject,1}},PyObject)
before the new definition.

I tried removing and re-cloning PyCall (v0.3.1 is what I had before, and 
what I get now), but to no avail.

Any ideas?

Reply via email to