[docs] [issue18959] Create a "Superseded modules" section in standard library ToC
report at bugs.python.org
Sat Sep 7 15:09:22 CEST 2013
New submission from Nick Coghlan:
As discussed at the language summit earlier this year , it isn't alway easy to tell when glancing through the standard library docs which modules are merely hanging around because removing them would break backwards compatibility.
However, after reviewing the current ToC, we currently appear to only have two genuinely superseded modules: optparse (superseded by argparse) and imp (superseded by importlib).
Other cases where different modules touch on the same area are high level/low level splits (e.g. select vs selectors), or ones where the alternate modules are offering compatibility with different styles of API (e.g. etree vs DOM for XML, getopt vs argparse).
In future, asyncore/asynchat will hopefully be superseded by the PEP 3156 code (as "concurrent.events" or similar) and would also be moved under the new heading.
Marking as "easy" since the mechanics of the patch should be pretty simple: create a new heading and move the references to optparse and imp from their current locations.
(I thought I had already created a bug for this, but can't find it, so I've created this new one. If I did already create an issue, we can close it as a duplicate and keep this one.)
assignee: docs at python
nosy: docs at python, ncoghlan
stage: needs patch
title: Create a "Superseded modules" section in standard library ToC
versions: Python 3.4
Python tracker <report at bugs.python.org>
More information about the docs