I get theese warnings too. I found out that they were introduced after https://github.com/JuliaLang/julia/commit/bec200<https://github.com/JuliaLang/julia/commit/bec200eb80eb3bf> .
They are warnings, and will probably not affect the behaviour, but I will file a issue with https://github.com/stevengj/PyCall.jl/issues to get this fixed. Thanks for reporting Ivar kl. 20:29:44 UTC+1 fredag 10. januar 2014 skrev Stephen Pope følgende: > > 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? > >
