Skip to content

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

Description

@ethanfurman
BPO43957
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=<Date2021-05-01.20:39:22.594>created_at=<Date2021-04-27.19:11:08.744>labels= ['type-bug', '3.10']
    title='[Enum] update __contains__ to return True for valid values'updated_at=<Date2021-05-01.20:39:22.594>user='https://github.com/ethanfurman'

    bugs.python.org fields:

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

    Metadata

    Metadata

    Assignees

    Labels

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

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions