Skip to content

zipimport's handling of namespace packages is incorrect #61833

@phmc

Description

@phmc
mannequin
BPO 17633
Nosy @brettcannon, @theller, @gpshead, @ncoghlan, @ericvsmith, @ericsnowcurrently, @phmc
Files
  • issue17633.diff
  • issue17633-2.diff
  • issue17633-3.diff: zipimport namespace pkg fix + expanded test cases
  • issue17633-hg.diff: fix for issue17633 as mercurial patch off of repository
  • issue17633-hg-2.patch: patch for 17633 (with review suggested changes)
  • 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 2016-01-15.19:26:30.397>
    created_at = <Date 2013-04-04.10:10:23.770>
    labels = ['extension-modules', 'type-bug']
    title = "zipimport's handling of namespace packages is incorrect"
    updated_at = <Date 2016-01-15.19:40:19.018>
    user = 'https://github.com/phmc'

    bugs.python.org fields:

    activity = <Date 2016-01-15.19:40:19.018>
    actor = 'python-dev'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2016-01-15.19:26:30.397>
    closer = 'brett.cannon'
    components = ['Extension Modules']
    creation = <Date 2013-04-04.10:10:23.770>
    creator = 'pconnell'
    dependencies = []
    files = ['29925', '29927', '41498', '41501', '41557']
    hgrepos = []
    issue_num = 17633
    keywords = ['patch', 'needs review']
    message_count = 13.0
    messages = ['186025', '186030', '186164', '187286', '187295', '257476', '257502', '257504', '257506', '257507', '257856', '258321', '258323']
    nosy_count = 12.0
    nosy_names = ['brett.cannon', 'romberg', 'theller', 'gregory.p.smith', 'ncoghlan', 'eric.smith', 'Arfrever', 'python-dev', 'eric.snow', 'pconnell', 'isoschiz', 'superluser']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17633'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions