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

Document various preexisting stdlib deprecations related to import for removal in Python 3.12 #87886

Closed
brettcannon opened this issue Apr 3, 2021 · 4 comments
Assignees
Labels
3.10 only security fixes stdlib Python modules in the Lib dir

Comments

@brettcannon
Copy link
Member

BPO 43720
Nosy @brettcannon
PRs
  • bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 #25167
  • 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 = 'https://github.com/brettcannon'
    closed_at = <Date 2021-04-03.22:31:33.208>
    created_at = <Date 2021-04-03.20:45:08.523>
    labels = ['library', '3.10']
    title = 'Document various preexisting stdlib deprecations related to import for removal in Python 3.12'
    updated_at = <Date 2021-04-03.22:31:33.207>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2021-04-03.22:31:33.207>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2021-04-03.22:31:33.208>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2021-04-03.20:45:08.523>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43720
    keywords = ['patch']
    message_count = 2.0
    messages = ['390141', '390146']
    nosy_count = 1.0
    nosy_names = ['brett.cannon']
    pr_nums = ['25167']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43720'
    versions = ['Python 3.10']

    @brettcannon
    Copy link
    Member Author

    The following module's have preexisting deprecations with no slated removal version. Since so much of import is getting cleaned up in Python 3.12, these should finally go as well so the APIs are consistent across Python.

    • imp
    • pkgutil
    • importlib.util

    @brettcannon brettcannon added the 3.10 only security fixes label Apr 3, 2021
    @brettcannon brettcannon self-assigned this Apr 3, 2021
    @brettcannon brettcannon added stdlib Python modules in the Lib dir 3.10 only security fixes labels Apr 3, 2021
    @brettcannon brettcannon self-assigned this Apr 3, 2021
    @brettcannon brettcannon added the stdlib Python modules in the Lib dir label Apr 3, 2021
    @brettcannon
    Copy link
    Member Author

    New changeset dc6d3e1 by Brett Cannon in branch 'master':
    bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 (GH-25167)
    dc6d3e1

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @Torxed
    Copy link

    Torxed commented Apr 10, 2023

    On the topic of:

    these should finally go... importlib.util

    If it's really getting slated in 3.12 this should be mentioned in https://docs.python.org/3.11/library/importlib.html#module-importlib.util and at the very least not be available in https://docs.python.org/3.12/library/importlib.html#module-importlib.util?

    @brettcannon
    Copy link
    Member Author

    @Torxed I'm not quite sure what you're referring to, but the entire module of importlib.util isn't going anywhere, it just has some things inside of the module that are deprecated.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants