commit | 34721d56833932ccaaff6c6b0ff1bb9ffe8d20b4 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Wed May 14 01:08:21 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Wed May 14 01:08:21 2008 +0000 |
tree | 0aa85c5c429c88a01a73d5d57d343806eb10c1a1 | |
parent | c72df3305f03859d23e006f892db90a78e02f5e0 [diff] |
Deprecate al/AL for removal in 3.0.
diff --git a/Modules/almodule.c b/Modules/almodule.c index 0a45d2e..7f48fff 100644 --- a/Modules/almodule.c +++ b/Modules/almodule.c
@@ -1994,6 +1994,10 @@ { PyObject *m, *d, *x; + if (PyErr_WarnPy3k("the al module has been removed in " + "Python 3.0", 2) < 0) + return; + /* Create the module and add the functions */ m = Py_InitModule4("al", al_methods, al_module_documentation,