You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to check class attributes with Class.__dict__ with python3, and there seems to be nothing I can do with the returned mappingproxy.
It can't be cast into a PyDict, using call_method "items" or "keys" returns dict_items, dict_keys which in turn cannot be cast into PyDict, PyList or PySequence.
Even calling Class.__dict__.__iter__() and trying cast into PyIterator didn't work.
The text was updated successfully, but these errors were encountered:
jruiss
pushed a commit
to jruiss/rust-cpython
that referenced
this issue
Apr 25, 2020
I'm trying to check class attributes with Class.__dict__ with python3, and there seems to be nothing I can do with the returned mappingproxy.
It can't be cast into a PyDict, using call_method "items" or "keys" returns dict_items, dict_keys which in turn cannot be cast into PyDict, PyList or PySequence.
Even calling Class.__dict__.__iter__() and trying cast into PyIterator didn't work.
The text was updated successfully, but these errors were encountered: