Deprecate the dl module for removal in 3.0.
diff --git a/Modules/dlmodule.c b/Modules/dlmodule.c
index 2b50ed6..112e635 100644
--- a/Modules/dlmodule.c
+++ b/Modules/dlmodule.c
@@ -235,6 +235,10 @@
 {
 	PyObject *m, *d, *x;
 
+    if (PyErr_WarnPy3k("the dl module has been removed in "
+                       "Python 3.0", 2) < 0)
+        return;    
+
 	/* Initialize object type */
 	Py_TYPE(&Dltype) = &PyType_Type;