Skip to content

enum.IntFlag regression: missing values cause TypeError #88408

@hroncok

Description

@hroncok
mannequin
BPO 44242
Nosy @belm0, @ethanfurman, @vedgar, @tacaswell, @hroncok, @pablogsal, @miss-islington, @Zheaoli, @belm0, @hauntsaninja, @jacobtylerwalls
PRs
  • bpo-44242: [Enum] remove missing bits test from Flag creation #26586
  • [3.10] bpo-44242: [Enum] remove missing bits test from Flag creation (GH-26586) #26635
  • bpo-44242: [Enum] improve error messages #26669
  • [3.10] bpo-44242: [Enum] improve error messages (GH-26669) #26671
  • 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-06-14.19:05:28.255>
    created_at = <Date 2021-05-26.19:31:43.243>
    labels = ['type-bug', 'library', '3.10', '3.11']
    title = 'enum.IntFlag regression: missing values cause TypeError'
    updated_at = <Date 2021-06-14.19:05:28.255>
    user = 'https://github.com/hroncok'

    bugs.python.org fields:

    activity = <Date 2021-06-14.19:05:28.255>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2021-06-14.19:05:28.255>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2021-05-26.19:31:43.243>
    creator = 'hroncok'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44242
    keywords = ['patch']
    message_count = 27.0
    messages = ['394457', '394461', '394464', '394466', '394467', '394468', '394469', '394470', '394471', '394472', '394473', '394475', '394479', '394486', '394487', '394500', '394593', '395134', '395136', '395431', '395539', '395572', '395616', '395628', '395629', '395810', '395838']
    nosy_count = 11.0
    nosy_names = ['jbelmonte', 'ethan.furman', 'veky', 'tcaswell', 'hroncok', 'pablogsal', 'miss-islington', 'Manjusaka', 'John Belmonte', 'hauntsaninja', 'jacobtylerwalls']
    pr_nums = ['26586', '26635', '26669', '26671']
    priority = None
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44242'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

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