Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No mappingproxy implementation? #221

Open
jruiss opened this issue Apr 24, 2020 · 0 comments
Open

No mappingproxy implementation? #221

jruiss opened this issue Apr 24, 2020 · 0 comments

Comments

@jruiss
Copy link

jruiss commented Apr 24, 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.

jruiss pushed a commit to jruiss/rust-cpython that referenced this issue Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant