JuliaPy / JuliaPy/PyCall.jl

pyisinstance error

Offen
#557 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.