This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: aifc, sunau, wave: remove deprecated openfp() function
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords: patch

Created on 2019-06-17 19:54 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 14169 merged vstinner, 2019-06-17 20:11
Messages (4)
msg345894 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-17 19:54
The openfp() function of aifc, sunau, wave is an alias to the open() function of each module and is deprecated since Python 3.7.

Attached PR removes it.
msg345897 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-17 20:13
openfp() functions were deprecated by bpo-31985.
msg345924 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-17 22:00
New changeset ac7b1a3f32cc81520e8962352294006d65744028 by Victor Stinner in branch 'master':
bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)
https://github.com/python/cpython/commit/ac7b1a3f32cc81520e8962352294006d65744028
msg345925 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-17 22:01
If your code uses openfp(): just use open() instead ;-)
History
Date User Action Args
2022-04-11 14:59:16adminsetgithub: 81501
2019-06-17 22:01:18vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg345925

stage: patch review -> resolved
2019-06-17 22:00:29vstinnersetmessages: + msg345924
2019-06-17 20:13:34vstinnersetmessages: + msg345897
2019-06-17 20:11:26vstinnersetkeywords: + patch
stage: patch review
pull_requests: + pull_request14011
2019-06-17 19:54:46vstinnercreate