Skip to content

zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str #75472

@orenmn

Description

@orenmn
mannequin
BPO 31291
Nosy @Yhg1s, @brettcannon, @serhiy-storchaka, @orenmn
PRs
  • bpo-31291: fix an assertion failure in zipimport.zipimporter.get_data() #3226
  • [3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.… #3243
  • 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 = None
    closed_at = <Date 2017-08-30.11:09:04.820>
    created_at = <Date 2017-08-28.08:44:26.426>
    labels = ['extension-modules', '3.7', 'type-crash']
    title = 'zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str'
    updated_at = <Date 2017-08-30.11:09:04.819>
    user = 'https://github.com/orenmn'

    bugs.python.org fields:

    activity = <Date 2017-08-30.11:09:04.819>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-08-30.11:09:04.820>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2017-08-28.08:44:26.426>
    creator = 'Oren Milman'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31291
    keywords = []
    message_count = 9.0
    messages = ['300944', '300962', '300963', '300965', '300966', '300967', '300972', '300995', '301021']
    nosy_count = 4.0
    nosy_names = ['twouters', 'brett.cannon', 'serhiy.storchaka', 'Oren Milman']
    pr_nums = ['3226', '3243']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue31291'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions