diff options
author | Brian Curtin <brian@python.org> | 2017-11-10 11:38:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-10 11:38:25 -0500 |
commit | 9f914a01affc55abe799afc521ce71612bb495a5 (patch) | |
tree | b002fd748ecccf5a416b655a85aef7fb30bd6633 /Doc | |
parent | 5e0df74b3bc6391e9a7eba0fd84531ed99a78ae9 (diff) | |
download | cpython-git-9f914a01affc55abe799afc521ce71612bb495a5.tar.gz |
bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344)
The openfp functions of aifp, sunau, and wave had pointed to the open
function of each module since 1993 as a matter of backwards
compatibility. In the case of aifc.openfp, it was both undocumented
and untested. This change begins the formal deprecation of those
openfp functions, with their removal coming in 3.9.
This additionally adds a TODO in test_pyclbr around using aifc.openfp,
though it shouldn't be changed until removal in 3.9.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sunau.rst | 2 | ||||
-rw-r--r-- | Doc/library/wave.rst | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/sunau.rst b/Doc/library/sunau.rst index c8357e4fcc..2064fd7e20 100644 --- a/Doc/library/sunau.rst +++ b/Doc/library/sunau.rst @@ -63,6 +63,8 @@ The :mod:`sunau` module defines the following functions: A synonym for :func:`.open`, maintained for backwards compatibility. + .. deprecated-removed:: 3.7 3.9 + The :mod:`sunau` module defines the following exception: diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst index a9b3205322..5c315c5161 100644 --- a/Doc/library/wave.rst +++ b/Doc/library/wave.rst @@ -51,6 +51,8 @@ The :mod:`wave` module defines the following function and exception: A synonym for :func:`.open`, maintained for backwards compatibility. + .. deprecated-removed:: 3.7 3.9 + .. exception:: Error |