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

Raise ImportWarning when calling find_loader() #87838

Closed
brettcannon opened this issue Mar 30, 2021 · 2 comments
Closed

Raise ImportWarning when calling find_loader() #87838

brettcannon opened this issue Mar 30, 2021 · 2 comments
Assignees
Labels
3.10 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@brettcannon
Copy link
Member

BPO 43672
Nosy @brettcannon
PRs
  • bpo-43672: raise ImportWarning when calling find_loader() #25119
  • 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-02.19:36:01.152>
    created_at = <Date 2021-03-30.15:44:53.171>
    labels = ['interpreter-core', '3.10']
    title = 'Raise ImportWarning when calling find_loader()'
    updated_at = <Date 2021-04-02.19:36:01.151>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2021-04-02.19:36:01.151>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2021-04-02.19:36:01.152>
    closer = 'brett.cannon'
    components = ['Interpreter Core']
    creation = <Date 2021-03-30.15:44:53.171>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43672
    keywords = ['patch']
    message_count = 2.0
    messages = ['389834', '390094']
    nosy_count = 1.0
    nosy_names = ['brett.cannon']
    pr_nums = ['25119']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43672'
    versions = ['Python 3.10']

    @brettcannon
    Copy link
    Member Author

    Using find_loader() in the import system should raise ImportWarning to start transitioning people over to find_spec() who haven't migrated since Python 3.4.

    @brettcannon brettcannon added the 3.10 only security fixes label Mar 30, 2021
    @brettcannon brettcannon self-assigned this Mar 30, 2021
    @brettcannon brettcannon added interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.10 only security fixes labels Mar 30, 2021
    @brettcannon brettcannon self-assigned this Mar 30, 2021
    @brettcannon brettcannon added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Mar 30, 2021
    @brettcannon
    Copy link
    Member Author

    New changeset f97dc80 by Brett Cannon in branch 'master':
    bpo-43672: raise ImportWarning when calling find_loader() (GH-25119)
    f97dc80

    @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 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant