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

Need a guide about supporting concrete types when designing new APIs #23

Open
corona10 opened this issue May 11, 2023 · 1 comment
Open

Comments

@corona10
Copy link

corona10 commented May 11, 2023

This might not be a problem but some suggestion.
python/cpython#100100 is a good example.
The reason not to support the PyDict_ContainsString was quite reasonable
but from the API design view unexistence of PyDict_ContainsString can be weird for some people.
So there if there is a guide about supporting the concrete type will be helpful to users and contributors.

@gvanrossum gvanrossum changed the title Need a guide about supporting concrete types when designing new APIs. Need a guide about supporting concrete types when designing new APIs May 16, 2023
@gvanrossum
Copy link

See also #30 (comment)

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

3 participants