Skip to content

enum classes cause slow startup time #82840

@gpshead

Description

@gpshead
BPO 38659
Nosy @arigo, @gpshead, @vstinner, @ethanfurman, @ammaraskar, @pablogsal
PRs
  • bpo-38659: [Enum] add _simple_enum decorator #25285
  • Revert "bpo-38659: [Enum] add _simple_enum decorator" #25476
  • bpo-38659: [Enum] add _simple_enum decorator #25497
  • bpo-38659: Properly re-intialize module variables in test_enum #25516
  • bpo-38659: Revert "[Enum] add _simple_enum decorator (GH-25497)" #25560
  • bpo-38659: [Enum] do not check '_inverted_' during _test_simple_enum #25566
  • 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-04-24.21:43:38.457>
    created_at = <Date 2019-11-01.01:12:48.657>
    labels = ['release-blocker', 'library', '3.10', 'performance']
    title = 'enum classes cause slow startup time'
    updated_at = <Date 2021-10-12.19:31:41.821>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2021-10-12.19:31:41.821>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2021-04-24.21:43:38.457>
    closer = 'pablogsal'
    components = ['Library (Lib)']
    creation = <Date 2019-11-01.01:12:48.657>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38659
    keywords = ['patch']
    message_count = 23.0
    messages = ['355777', '355815', '391420', '391421', '391532', '391565', '391567', '391568', '391569', '391570', '391571', '391604', '391621', '391678', '391679', '391711', '391713', '391716', '391753', '391787', '391807', '403517', '403753']
    nosy_count = 6.0
    nosy_names = ['arigo', 'gregory.p.smith', 'vstinner', 'ethan.furman', 'ammar2', 'pablogsal']
    pr_nums = ['25285', '25476', '25497', '25516', '25560', '25566']
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue38659'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesperformancePerformance or resource usagerelease-blockerstdlibStandard Library Python modules in the Lib/ directory
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions