pyisinstance error
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```
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?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by reading the existing pyisinstance implementation and the source path where PyCall.@pyglobalobj is defined. Check how Python object and symbol arguments are currently handled, then add coverage for pyisinstance(s, :PyDict_Type) and confirm it produces the expected boolean result.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia, python
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100