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

[importlib] Deprecate find_module() & find_loader() mplementations #86301

Closed
brettcannon opened this issue Oct 23, 2020 · 5 comments
Closed

[importlib] Deprecate find_module() & find_loader() mplementations #86301

brettcannon opened this issue Oct 23, 2020 · 5 comments
Assignees
Labels
3.10 stdlib type-bug

Comments

@brettcannon
Copy link
Member

@brettcannon brettcannon commented Oct 23, 2020

BPO 42135
Nosy @brettcannon, @hugovk, @miss-islington
PRs
  • #25169
  • #28312
  • #28321
  • Dependencies
  • bpo-42134: Raise ImportWarning when falling back to find_module()
  • 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-06.15:57:17.076>
    created_at = <Date 2020-10-23.23:11:35.528>
    labels = ['type-bug', 'library', '3.10']
    title = '[importlib] Deprecate find_module() & find_loader() mplementations'
    updated_at = <Date 2021-09-13.23:33:13.286>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2021-09-13.23:33:13.286>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2021-04-06.15:57:17.076>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2020-10-23.23:11:35.528>
    creator = 'brett.cannon'
    dependencies = ['42134']
    files = []
    hgrepos = []
    issue_num = 42135
    keywords = ['patch']
    message_count = 5.0
    messages = ['379493', '390142', '390348', '401739', '401742']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'hugovk', 'miss-islington']
    pr_nums = ['25169', '28312', '28321']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42135'
    versions = ['Python 3.10']

    @brettcannon
    Copy link
    Member Author

    @brettcannon brettcannon commented Oct 23, 2020

    find_spec() supersedes find_module() at this point.

    @brettcannon brettcannon added 3.10 stdlib type-bug labels Oct 23, 2020
    @brettcannon brettcannon changed the title [importlib] Deprecate find_module() implementations [importlib] Deprecate find_module() & find_loader() mplementations Apr 2, 2021
    @brettcannon brettcannon changed the title [importlib] Deprecate find_module() implementations [importlib] Deprecate find_module() & find_loader() mplementations Apr 2, 2021
    @brettcannon
    Copy link
    Member Author

    @brettcannon brettcannon commented Apr 3, 2021

    find_spec() also supercedes find_loader().

    @brettcannon
    Copy link
    Member Author

    @brettcannon brettcannon commented Apr 6, 2021

    New changeset 57c6cb5 by Brett Cannon in branch 'master':
    bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169)
    57c6cb5

    @brettcannon
    Copy link
    Member Author

    @brettcannon brettcannon commented Sep 13, 2021

    New changeset 9f93018 by Hugo van Kemenade in branch 'main':
    bpo-42135 Correct version slated for importlib.find_loader removal (GH-28312)
    9f93018

    @brettcannon
    Copy link
    Member Author

    @brettcannon brettcannon commented Sep 13, 2021

    New changeset a390bb6 by Miss Islington (bot) in branch '3.10':
    bpo-42135 Correct version slated for importlib.find_loader removal (GH-28312) (GH-28321)
    a390bb6

    @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.10 stdlib type-bug
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant