diff Python/pythonrun.c @ 35297:26bf6c27e9ce legacy-trunk

* 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.
author Raymond Hettinger <python@rcn.com>
date Mon, 01 Aug 2005 21:39:29 +0000
parents 1dd8a0d64432
children e48fcd4c358d
line wrap: on
line diff
--- a/Python/pythonrun.c	Mon Aug 01 05:26:41 2005 +0000
+++ b/Python/pythonrun.c	Mon Aug 01 21:39:29 2005 +0000
@@ -420,6 +420,7 @@
 	PyCFunction_Fini();
 	PyTuple_Fini();
 	PyList_Fini();
+	PySet_Fini();
 	PyString_Fini();
 	PyInt_Fini();
 	PyFloat_Fini();