Guido van Rossum writes: > But they won't have to -- all the other pointers in the as_sequence > struct can be NULL. (This used to be not the case, but I've finally > given in and added NULL tests everywhere -- it was a recurring > complaint from extension writers.) Good enough; sounds like the thing to do is to declare a set to be an sequence that supports sq_contains, sets a flag in tp_flag, and doesn't support the irrelevant slots in the sequence structure. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> Corporation for National Research Initiatives
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4