From d794666048510deca0d4987a4c74d0fca85be411 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 1 Aug 2005 21:39:29 +0000 Subject: * 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. --- Python/pythonrun.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/pythonrun.c') diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 0ac46f07b0..9e53564ad8 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -420,6 +420,7 @@ Py_Finalize(void) PyCFunction_Fini(); PyTuple_Fini(); PyList_Fini(); + PySet_Fini(); PyString_Fini(); PyInt_Fini(); PyFloat_Fini(); -- cgit v1.2.1