Skip to content

x in enum.Flag member is True when x is not a Flag #77398

@Dutcho

Description

@Dutcho
mannequin
BPO 33217
Nosy @warsaw, @ethanfurman, @Dutcho, @RJ722, @remilapeyre
PRs
  • [3.7] bpo-33217: deprecate non-Enum lookups in Enums #6392
  • bpo-33217: Raise TypeError for non-Enum lookups in Enums #6651
  • 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 2018-09-10.18:25:18.889>
    created_at = <Date 2018-04-03.20:16:12.943>
    labels = ['3.7', '3.8', 'type-bug', 'library', 'easy']
    title = 'x in enum.Flag member is True when x is not a Flag'
    updated_at = <Date 2019-05-08.15:30:53.240>
    user = 'https://github.com/Dutcho'

    bugs.python.org fields:

    activity = <Date 2019-05-08.15:30:53.240>
    actor = 'remi.lapeyre'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2018-09-10.18:25:18.889>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2018-04-03.20:16:12.943>
    creator = 'Dutcho'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33217
    keywords = ['patch', 'easy']
    message_count = 14.0
    messages = ['314890', '314895', '314900', '314901', '314911', '314958', '315211', '315234', '315863', '315871', '324945', '324947', '341883', '341889']
    nosy_count = 7.0
    nosy_names = ['barry', 'eli.bendersky', 'ethan.furman', 'Dutcho', 'RJ722', 'remi.lapeyre', 'Peter T\xc3\xb6nz']
    pr_nums = ['6392', '6651']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33217'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

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