Skip to content

importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing #51436

@davidmalcolm

Description

@davidmalcolm
BPO 7187
Nosy @brettcannon, @pitrou, @davidmalcolm
Files
  • python-3.1.1-importlib-fix-handling-of-readonly-pyc-files.patch: Patch to extend exception handling to also cover failure to open the .pyc for writing
  • 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 2009-11-07.23:57:58.479>
    created_at = <Date 2009-10-22.20:37:06.079>
    labels = ['type-bug', 'library']
    title = "importlib/_bootstrap.py write_bytecode raises an IOError if it can't open the .pyc file for writing"
    updated_at = <Date 2009-11-07.23:57:58.478>
    user = 'https://github.com/davidmalcolm'

    bugs.python.org fields:

    activity = <Date 2009-11-07.23:57:58.478>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2009-11-07.23:57:58.479>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2009-10-22.20:37:06.079>
    creator = 'dmalcolm'
    dependencies = []
    files = ['15185']
    hgrepos = []
    issue_num = 7187
    keywords = ['patch']
    message_count = 5.0
    messages = ['94371', '94374', '94381', '94388', '95028']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'pitrou', 'dmalcolm']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'test needed'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7187'
    versions = ['Python 3.1']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions