Skip to content

Peeephole optimizer does not optimize functions with multiline expressions #81394

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 37213
Nosy @vstinner, @benjaminp, @ned-deily, @serhiy-storchaka, @pablogsal, @miss-islington
PRs
  • bpo-37213: Handle negative line deltas correctly in the peephole optimizer #13969
  • [3.8] bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969) #14063
  • Files
  • test_peepholer.diff
  • 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/pablogsal'
    closed_at = <Date 2019-06-13.19:01:58.014>
    created_at = <Date 2019-06-10.08:24:23.404>
    labels = ['interpreter-core', 'type-bug', '3.8', '3.9']
    title = 'Peeephole optimizer does not optimize functions with multiline expressions'
    updated_at = <Date 2019-06-14.09:49:54.774>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2019-06-14.09:49:54.774>
    actor = 'vstinner'
    assignee = 'pablogsal'
    closed = True
    closed_date = <Date 2019-06-13.19:01:58.014>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2019-06-10.08:24:23.404>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['48412']
    hgrepos = []
    issue_num = 37213
    keywords = ['patch', '3.8regression']
    message_count = 13.0
    messages = ['345108', '345117', '345120', '345268', '345309', '345529', '345530', '345531', '345532', '345534', '345535', '345562', '345566']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'benjamin.peterson', 'ned.deily', 'serhiy.storchaka', 'pablogsal', 'miss-islington']
    pr_nums = ['13969', '14063']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37213'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    Labels

    3.8 (EOL)end of life3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions