Skip to content

[Enum] update __contains__ to return True for valid values #88123

Description

@ethanfurman
BPO 43957
Nosy @ethanfurman, @pablogsal
PRs
  • bpo-43957: [Enum] deprecate TypeError from containment checks #25670
  • bpo-43957: Add a missing space to the new format enum warning #25770
  • 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/ethanfurman'
    closed_at = <Date 2021-05-01.20:39:22.594>
    created_at = <Date 2021-04-27.19:11:08.744>
    labels = ['type-bug', '3.10']
    title = '[Enum] update __contains__ to return True for valid values'
    updated_at = <Date 2021-05-01.20:39:22.594>
    user = 'https://github.com/ethanfurman'

    bugs.python.org fields:

    activity = <Date 2021-05-01.20:39:22.594>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2021-05-01.20:39:22.594>
    closer = 'ethan.furman'
    components = []
    creation = <Date 2021-04-27.19:11:08.744>
    creator = 'ethan.furman'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43957
    keywords = ['patch']
    message_count = 4.0
    messages = ['392122', '392127', '392622', '392633']
    nosy_count = 2.0
    nosy_names = ['ethan.furman', 'pablogsal']
    pr_nums = ['25670', '25770']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43957'
    versions = ['Python 3.10']

    No activity

    Activity on this issue will appear here.

    Activity

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

    Metadata

    Metadata

    Assignees

    Labels

    3.12only security fixesrelease-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions