-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
theme: implementation flawsproblems with the implementation of specific APIsproblems with the implementation of specific APIs
Description
The documentation says "Unlike the Python __contains__() method, this function does not automatically convert unhashable sets into temporary frozensets." This isn't something that has caused me problems personally, and fixing it may not be worth the compatibility hassle, but this sort of subtle behavior difference between C and Python is a bad pattern.
The same applies to PySet_Discard.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
theme: implementation flawsproblems with the implementation of specific APIsproblems with the implementation of specific APIs