JuliaPy / JuliaPy/PyCall.jl

pyisinstance error

Open
#557 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

```
pyisinstance(s, :PyDict_Type)
ERROR: MethodError: no method matching pyisinstance(::PyObject, ::Symbol)
```

I've just gone through the source code and found the following works:

```
pyisinstance(s, PyCall.@pyglobalobj :PyTuple_Type)
false
```

Can we have a ` pyisinstance(::PyObject, ::Symbol)` method exposed?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.