Skip to content

Deleting a key in a read-only gdbm results in KeyError, not gdbm.error #77287

@sam-s

Description

@sam-s
mannequin
BPO 33106
Nosy @zhangyangyu, @sam-s
PRs
  • bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error #6295
  • 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 2018-12-12.13:05:50.142>
    created_at = <Date 2018-03-19.21:44:11.062>
    labels = ['3.8', 'type-feature', 'library']
    title = 'Deleting a key in a read-only gdbm results in KeyError, not gdbm.error'
    updated_at = <Date 2018-12-12.13:05:50.141>
    user = 'https://github.com/sam-s'

    bugs.python.org fields:

    activity = <Date 2018-12-12.13:05:50.141>
    actor = 'xiang.zhang'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-12-12.13:05:50.142>
    closer = 'xiang.zhang'
    components = ['Library (Lib)']
    creation = <Date 2018-03-19.21:44:11.062>
    creator = 'sam-s'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33106
    keywords = ['patch']
    message_count = 5.0
    messages = ['314119', '314120', '314603', '319062', '331694']
    nosy_count = 2.0
    nosy_names = ['xiang.zhang', 'sam-s']
    pr_nums = ['6295']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33106'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions