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

Static type checking, and possibly automatic generation of C code #138

Closed
Changaco opened this issue May 26, 2022 · 1 comment
Closed

Static type checking, and possibly automatic generation of C code #138

Changaco opened this issue May 26, 2022 · 1 comment

Comments

@Changaco
Copy link
Contributor

cbor2 lacks type hints. In addition to enabling static type checking, these annotations might allow mypyc to automatically generate the C version of the module. (Back in #47, using Cython was considered for this but ultimately rejected due to performance concerns. Perhaps mypyc can do better.)

@Sekenre
Copy link
Collaborator

Sekenre commented Jun 1, 2022

Type hints are hopefully coming soon, I would also accept patches.

vamega pushed a commit to vamega/cbor2 that referenced this issue Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants