We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug APIs that return memoryview does not have valid format, forcing the user to call cast('B') before using any memory manipulation.
memoryview
cast('B')
To Reproduce
view = pixmap.addr8() view[0] # This crash view.cast('B')[0]
Expected behavior Should not require cast
cast
Desktop (please complete the following information):
Additional context See pybind/pybind11#2223
The text was updated successfully, but these errors were encountered:
Likely fixed in #123
Sorry, something went wrong.
No branches or pull requests
Describe the bug
APIs that return
memoryview
does not have valid format, forcing the user to callcast('B')
before using any memory manipulation.To Reproduce
Expected behavior
Should not require
cast
Desktop (please complete the following information):
Additional context
See pybind/pybind11#2223
The text was updated successfully, but these errors were encountered: