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

buffer arguments need to be restricted #7

Open
dmoisset opened this issue Jul 26, 2016 · 0 comments
Open

buffer arguments need to be restricted #7

dmoisset opened this issue Jul 26, 2016 · 0 comments
Labels

Comments

@dmoisset
Copy link
Contributor

Some function arguments accept only objects with a buffer interface as described by PEP-3118. That's a C level API and it's not backed by any Python methods so it's hard to describe in mypy, so those arguments are currently described as Any

This need some support from python; see some related discussions at:

http://permalink.gmane.org/gmane.comp.python.devel/156411
http://bugs.python.org/issue27501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant