The CD and cd modules for IRIX are deprecated for 3.0.
diff --git a/Modules/cdmodule.c b/Modules/cdmodule.c
index f8efd39..f09b0a4 100644
--- a/Modules/cdmodule.c
+++ b/Modules/cdmodule.c
@@ -758,6 +758,10 @@
 initcd(void)
 {
 	PyObject *m, *d;
+	
+	if (PyErr_WarnPy3k("the cd module has been removed in "
+	                   "Python 3.0", 2) < 0)
+	    return;
 
 	m = Py_InitModule("cd", CD_methods);
 	if (m == NULL)