pyisinstance error
- Langage dominant
- Julia
- Étoiles
- 1.5k
- Forks
- 186
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- julia, python
- Domaine
- backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100