Skip to content

add __iter__ to enum.Flag members #76399

@GuyGangemi

Description

@GuyGangemi
mannequin
BPO 32218
Nosy @warsaw, @rhettinger, @ethanfurman, @hongweipeng, @cryvate
PRs
  • bpo-32218: make Flag and IntFlag members iterable #22221
  • bpo-32218: Only keep the one-bit flag in Flag.__iter__ #23368
  • 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-01-14.01:26:05.907>
    created_at = <Date 2017-12-05.03:44:12.300>
    labels = ['type-feature', 'library', '3.10']
    title = 'add __iter__ to enum.Flag members'
    updated_at = <Date 2021-01-14.01:26:05.905>
    user = 'https://bugs.python.org/GuyGangemi'

    bugs.python.org fields:

    activity = <Date 2021-01-14.01:26:05.905>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2021-01-14.01:26:05.907>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2017-12-05.03:44:12.300>
    creator = 'Guy Gangemi'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32218
    keywords = ['patch']
    message_count = 5.0
    messages = ['307629', '311204', '377152', '381368', '385060']
    nosy_count = 7.0
    nosy_names = ['barry', 'rhettinger', 'eli.bendersky', 'ethan.furman', 'hongweipeng', 'cryvate', 'Guy Gangemi']
    pr_nums = ['22221', '23368']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32218'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions