Add special handling for Python modules that are imported implicitly
by the Python runtime: 'site' and 'exceptions'.
diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py
index 1f0356b..b584ec5 100755
--- a/Tools/freeze/freeze.py
+++ b/Tools/freeze/freeze.py
@@ -85,6 +85,9 @@
     odir = ''
     win = sys.platform[:3] == 'win'
 
+    # modules that are imported by the Python runtime
+    implicits = ["site", "exceptions"]
+
     # output files
     frozen_c = 'frozen.c'
     config_c = 'config.c'
@@ -217,6 +220,9 @@
         target = os.path.join(odir, target)
         makefile = os.path.join(odir, makefile)
 
+    for mod in implicits:
+        modules.append(findmodules.findmodule(mod))
+
     # Actual work starts here...
 
     dict = findmodules.findmodules(scriptfile, modules, path)