Deprecate htmllib and sgmllib for 3.0.
diff --git a/Lib/htmllib.py b/Lib/htmllib.py
index 24a2e2f..44647db 100644
--- a/Lib/htmllib.py
+++ b/Lib/htmllib.py
@@ -4,6 +4,11 @@
 http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_toc.html
 """
 
+from warnings import warnpy3k
+warnpy3k("the htmllib module has been removed in Python 3.0",
+         stacklevel=2)
+del warnpy3k
+
 import sgmllib
 
 from formatter import AS_IS