Skip to content

Pdb raises exception when code is executed in a mapping that does not define __contains__ #78963

@pppery

Description

@pppery
mannequin
BPO 34782
Nosy @serhiy-storchaka, @pppery, @tirkarthi, @scotchka, @iritkatriel
PRs
  • bpo-34782: Check locals is a mapping bdb.run* #11571
  • bpo-34782: Check locals is a mapping bdb.run* #11571
  • bpo-34782: Fix pdb failure when locals is an invalid mapping #27570
  • 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 2021-08-03.15:10:03.005>
    created_at = <Date 2018-09-23.21:38:01.565>
    labels = ['type-bug', '3.9', '3.10', '3.11', 'invalid', 'library']
    title = 'Pdb raises exception when code is executed in a mapping that does not define `__contains__`'
    updated_at = <Date 2021-08-03.15:10:03.004>
    user = 'https://github.com/pppery'

    bugs.python.org fields:

    activity = <Date 2021-08-03.15:10:03.004>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-03.15:10:03.005>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2018-09-23.21:38:01.565>
    creator = 'ppperry'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34782
    keywords = ['patch', 'patch']
    message_count = 10.0
    messages = ['326186', '333763', '333781', '333785', '333812', '333813', '333833', '333988', '398830', '398831']
    nosy_count = 5.0
    nosy_names = ['serhiy.storchaka', 'ppperry', 'xtreak', 'scotchka', 'iritkatriel']
    pr_nums = ['11571', '11571', '27570']
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34782'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibStandard 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