Skip to content
New issue

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

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

Already on GitHub? # to your account

Validate .pyi is self consistent with our bindings #7645

Closed
jleibs opened this issue Oct 8, 2024 · 0 comments · Fixed by #7646
Closed

Validate .pyi is self consistent with our bindings #7645

jleibs opened this issue Oct 8, 2024 · 0 comments · Fixed by #7646
Labels
🪳 bug Something isn't working 🐍 Python API Python logging API

Comments

@jleibs
Copy link
Member

jleibs commented Oct 8, 2024

We currently need to maintain a .pyi file that matches the signatures of our bindings.

It's very easy to accidentally mess this up, especially when things are being renamed.

See, for example:

Eventually PyO3 should support .pyi generation (PyO3/pyo3#2454), however for the time being we need some kind of system to keep us from messing this up.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🪳 bug Something isn't working 🐍 Python API Python logging API
Projects
None yet
1 participant