PythonCall.jl
PythonCall.jl copied to clipboard
add pydel_of_py_is_safe(x)
... which is true if pydel!(Py(x)) is safe (i.e. Py(x) definitely returns a new value).
Or perhaps !ispy(x) is enough??