FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix UserDict.get to account for __missing__ · Issue #83445 · python/cpython · GitHub

Repository navigation

Fix UserDict.get to account for __missing__ #83445

Closed

Description

mannequin
BPO 39264
Nosy @bharel
PRs
  • bpo-39264: Fix UserDict.get() to account for __missing__() #17910
  • 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 = None
    created_at = <Date 2020-01-08.23:51:15.983>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'Fix UserDict.get to account for __missing__'
    updated_at = <Date 2020-01-09.00:12:54.440>
    user = 'https://github.com/bharel'

    bugs.python.org fields:

    activity = <Date 2020-01-09.00:12:54.440>
    actor = 'bar.harel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-01-08.23:51:15.983>
    creator = 'bar.harel'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39264
    keywords = ['patch']
    message_count = 2.0
    messages = ['359633', '359641']
    nosy_count = 1.0
    nosy_names = ['bar.harel']
    pr_nums = ['17910']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39264'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Activity

    1. bharel commented on Jan 8, 2020

      bharelmannequin
      MannequinAuthor

      Unlike dict, UserDict.__missing__ is called on .get().
      After a discussion on the Python-Dev mailing list, mimicking dict's behavior was chosen as a solution to the issue.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on Jan 8, 2020
    3. bharel commented on Jan 9, 2020

      bharelmannequin
      MannequinAuthor

      See also bpo-39267

    4. transferred this issue fromon Apr 10, 2022
    5. bharel commented on Apr 17, 2023

      ContributorAuthor

      Please see #83448 as well.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard 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


        Back | FazBrowse Home | New Git URL