Skip to content

Unexpected exception with zip importer #89346

Description

@ronaldoussoren
BPO 45183
Nosy @Yhg1s, @brettcannon, @ronaldoussoren, @pablogsal, @miss-islington
PRs
  • bpo-45183: don't raise an exception when calling zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset #28435
  • [3.10] bpo-45183: don't raise an exception when calling zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset (GH-28435) #28437
  • [3.10] bpo-45183: don't raise an exception when calling zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset (GH-28435) #28438
  • Files
  • repro.py
  • 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-09-18.00:47:38.847>
    created_at = <Date 2021-09-13.11:29:05.001>
    labels = ['type-bug', '3.10', '3.11']
    title = 'Unexpected exception with zip importer'
    updated_at = <Date 2021-09-18.00:47:38.846>
    user = 'https://github.com/ronaldoussoren'

    bugs.python.org fields:

    activity = <Date 2021-09-18.00:47:38.846>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2021-09-18.00:47:38.847>
    closer = 'brett.cannon'
    components = []
    creation = <Date 2021-09-13.11:29:05.001>
    creator = 'ronaldoussoren'
    dependencies = []
    files = ['50279']
    hgrepos = []
    issue_num = 45183
    keywords = ['patch', '3.10regression']
    message_count = 8.0
    messages = ['401698', '401793', '401794', '401935', '402109', '402111', '402114', '402115']
    nosy_count = 5.0
    nosy_names = ['twouters', 'brett.cannon', 'ronaldoussoren', 'pablogsal', 'miss-islington']
    pr_nums = ['28435', '28437', '28438']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45183'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions