]> granicus.if.org Git - python/commit
Issue #13959: Document imp.find_module/load_module as deprecated.
authorBrett Cannon <brett@python.org>
Sun, 13 May 2012 17:04:21 +0000 (13:04 -0400)
committerBrett Cannon <brett@python.org>
Sun, 13 May 2012 17:04:21 +0000 (13:04 -0400)
commit62961dde319ea4c1ba6db18cc549a851515c9e29
tree6de49399a1d14410e7be3039f2024df3e7f76ccc
parent401f9f3d32dcebf5ead8079d46a83fe7c7631581
Issue #13959: Document imp.find_module/load_module as deprecated.

The code itself does not raise a DeprecationWarning as the functions
are technically fine, it's just a bad API. Unfortunately experience
has shown that the terrible API has been exposed in various places,
necessitating that it stick around probably until py4k comes around
since it is such a shift to move over to importlib.find_loader().
Doc/library/imp.rst
Misc/NEWS