Skip to content

Peephole creates duplicate and unused constants #55671

@eltoder

Description

@eltoder
mannequin
BPO 11462
Nosy @Yhg1s, @rhettinger, @terryjreedy, @mdickinson, @abalkin, @pitrou, @eltoder
Superseder
  • bpo-11549: Build-out an AST optimizer, moving some functionality out of the peephole optimizer
  • Files
  • dedup_const_plana.patch
  • dedup_const_planb.patch
  • unused_consts.patch
  • consts_test.patch
  • 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/rhettinger'
    closed_at = <Date 2011-03-11.22:26:43.056>
    created_at = <Date 2011-03-11.00:55:58.819>
    labels = ['interpreter-core', 'performance']
    title = 'Peephole creates duplicate and unused constants'
    updated_at = <Date 2011-03-19.05:23:26.843>
    user = 'https://github.com/eltoder'

    bugs.python.org fields:

    activity = <Date 2011-03-19.05:23:26.843>
    actor = 'terry.reedy'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2011-03-11.22:26:43.056>
    closer = 'rhettinger'
    components = ['Interpreter Core']
    creation = <Date 2011-03-11.00:55:58.819>
    creator = 'eltoder'
    dependencies = []
    files = ['21074', '21075', '21076', '21077']
    hgrepos = []
    issue_num = 11462
    keywords = ['patch']
    message_count = 24.0
    messages = ['130537', '130538', '130539', '130543', '130544', '130562', '130574', '130584', '130585', '130586', '130587', '130588', '130590', '130591', '130592', '130595', '130621', '130631', '130634', '130656', '130659', '130661', '130662', '131391']
    nosy_count = 7.0
    nosy_names = ['twouters', 'rhettinger', 'terry.reedy', 'mark.dickinson', 'belopolsky', 'pitrou', 'eltoder']
    pr_nums = []
    priority = 'low'
    resolution = 'rejected'
    stage = None
    status = 'closed'
    superseder = '11549'
    type = 'performance'
    url = 'https://bugs.python.org/issue11462'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage
    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