diff options
author | Brian Curtin <brian@python.org> | 2017-11-10 16:38:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-10 16:38:25 (GMT) |
commit | 9f914a01affc55abe799afc521ce71612bb495a5 (patch) | |
tree | b002fd748ecccf5a416b655a85aef7fb30bd6633 /Misc | |
parent | 5e0df74b3bc6391e9a7eba0fd84531ed99a78ae9 (diff) | |
download | cpython-9f914a01affc55abe799afc521ce71612bb495a5.zip cpython-9f914a01affc55abe799afc521ce71612bb495a5.tar.gz cpython-9f914a01affc55abe799afc521ce71612bb495a5.tar.bz2 |
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 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-11-08-16-51-52.bpo-31985.dE_fOB.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-11-08-16-51-52.bpo-31985.dE_fOB.rst b/Misc/NEWS.d/next/Library/2017-11-08-16-51-52.bpo-31985.dE_fOB.rst new file mode 100644 index 0000000..9f55ef5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-11-08-16-51-52.bpo-31985.dE_fOB.rst @@ -0,0 +1,4 @@ +Formally deprecated aifc.openfp, sunau.openfp, and wave.openfp. Since change +7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, openfp in each of the three +modules had been pointing to that module's open funciton as a matter of +backwards compatibility, though it had been both untested and undocumented. |