-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Add PyDict_ContainsString() #100100
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
Comments
Adding things to CAPI would require to maintain this for many years: including tests / docs / etc. So, it needs a strong reasoning. What's your usecase for this? Can you go around your problem by using |
I believe it should be added to add consistency and using |
Just consistency is not a strong reason to add this. Note that |
Thank you for the suggestion. As said above, consistency alone isn't enough to add and maintain a new function. While C API has some shortcuts, this use case should be fine with |
Feature or enhancement
I noticed that some functions like
PyDict_GetItem()
,PyDict_SetItem()
,PyDict_DelItem()
, etc has their variants that takes in a character array instead, butPyDict_Contains()
does not.The text was updated successfully, but these errors were encountered: