I would like to share a couple of observations that I made as I studied the latest setobject implementation.
1. Is there a reason not to have PySet_CheckExact, given that PyFrozenSet_CheckExact exists? Similarly, why PyAnySet_Check, but no PySet_Check or PyFrozenSet_Check? 2. Type of several data members in dict-object and dict-entry structs were recently changed to Py_ssize_t . Whatever considerations prompted the change, they should probably apply to the similar members of set-object and set-entry structs as well. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com