JuliaPy / JuliaPy/PyCall.jl

pyisinstance error

オープン
#557 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
1.5k
フォーク
186
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
backend
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。