Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aifc, sunau, wave: remove deprecated openfp() function #81501

Closed
vstinner opened this issue Jun 17, 2019 · 4 comments
Closed

aifc, sunau, wave: remove deprecated openfp() function #81501

vstinner opened this issue Jun 17, 2019 · 4 comments
Labels
3.9 only security fixes stdlib Python modules in the Lib dir

Comments

@vstinner
Copy link
Member

BPO 37320
Nosy @vstinner
PRs
  • bpo-37320: Remove openfp() of aifc, sunau and wave #14169
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-06-17.22:01:18.731>
    created_at = <Date 2019-06-17.19:54:46.395>
    labels = ['library', '3.9']
    title = 'aifc, sunau, wave: remove deprecated openfp() function'
    updated_at = <Date 2019-06-17.22:01:18.731>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-06-17.22:01:18.731>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-17.22:01:18.731>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2019-06-17.19:54:46.395>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37320
    keywords = ['patch']
    message_count = 4.0
    messages = ['345894', '345897', '345924', '345925']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['14169']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue37320'
    versions = ['Python 3.9']

    @vstinner
    Copy link
    Member Author

    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.

    @vstinner vstinner added 3.9 only security fixes stdlib Python modules in the Lib dir labels Jun 17, 2019
    @vstinner
    Copy link
    Member Author

    openfp() functions were deprecated by bpo-31985.

    @vstinner
    Copy link
    Member Author

    New changeset ac7b1a3 by Victor Stinner in branch 'master':
    bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)
    ac7b1a3

    @vstinner
    Copy link
    Member Author

    If your code uses openfp(): just use open() instead ;-)

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant