Skip to content

PEP 511: Add ast.Constant to allow AST optimizer to emit constants #70334

@vstinner

Description

@vstinner
BPO 26146
Nosy @brettcannon, @vstinner, @benjaminp, @serhiy-storchaka
Dependencies
  • bpo-25843: code_richcompare() don't use constant type when comparing code constants
  • Files
  • constant.patch
  • constant-2.patch
  • constant-3.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 = None
    closed_at = <Date 2016-01-26.00:19:15.674>
    created_at = <Date 2016-01-18.17:04:51.468>
    labels = ['interpreter-core', 'type-feature']
    title = 'PEP 511: Add ast.Constant to allow AST optimizer to emit constants'
    updated_at = <Date 2016-01-27.11:20:23.012>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2016-01-27.11:20:23.012>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-01-26.00:19:15.674>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2016-01-18.17:04:51.468>
    creator = 'vstinner'
    dependencies = ['25843']
    files = ['41647', '41689', '41708']
    hgrepos = []
    issue_num = 26146
    keywords = ['patch']
    message_count = 16.0
    messages = ['258528', '258531', '258536', '258543', '258621', '258759', '258799', '258865', '258869', '258870', '258901', '258936', '258937', '258982', '258983', '259017']
    nosy_count = 5.0
    nosy_names = ['brett.cannon', 'vstinner', 'benjamin.peterson', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue26146'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions