JuliaPy / PyCall.jl

Package to call Python functions from the Julia language
MIT License
1.47k stars 187 forks source link

Equality check returns vector #900

Open devmotion opened 3 years ago

devmotion commented 3 years ago

Is the following intended?

julia> using PyCall

julia> x = rand(3);

julia> PyObject(x) == PyObject(x)
3-element Vector{Bool}:
 1
 1
 1

In https://github.com/SciML/OrdinaryDiffEq.jl/issues/1402 a user reported an error that seems to be caused by this behaviour.