From e2300e7d698313779f0f6b0f43cb4873e8bf58f6 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 14 May 2007 20:06:30 +0000 Subject: [PATCH] List the steps needed to properly remove a module. --- pep-3108.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pep-3108.txt b/pep-3108.txt index b7300f036..8e4668bc4 100644 --- a/pep-3108.txt +++ b/pep-3108.txt @@ -50,6 +50,18 @@ applied universally across the entire stdlib. If an edit time is not denoted as "unique" then it is the last time the file was edited, period. +The procedure to thoroughly remove a module is: + +#. Remove the module. +#. Remove the tests. +#. Change all references to the removed module in the standard + library. +#. Remove the docs. +#. Delete the reference to the removed docs in ``Doc/Makefile.deps`` + and ``Doc/lib/lib.tex``. +#. Run the regression test suite; watch out for tests that are skipped + because an import failed for the removed module. + Previously deprecated ---------------------