No need to import sys, time, or socket.  (Andrew Dalke & kjpylint)
diff --git a/Lib/CGIHTTPServer.py b/Lib/CGIHTTPServer.py
index 66c4c9c..d5ec7b0 100644
--- a/Lib/CGIHTTPServer.py
+++ b/Lib/CGIHTTPServer.py
@@ -10,9 +10,6 @@
 
 
 import os
-import sys
-import time
-import socket
 import string
 import urllib
 import BaseHTTPServer