* Improve code for the empty frozenset singleton:
- Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups.
This commit is contained in:
@@ -420,6 +420,7 @@ Py_Finalize(void)
|
||||
PyCFunction_Fini();
|
||||
PyTuple_Fini();
|
||||
PyList_Fini();
|
||||
PySet_Fini();
|
||||
PyString_Fini();
|
||||
PyInt_Fini();
|
||||
PyFloat_Fini();
|
||||
|
||||
Reference in New Issue
Block a user