Skip to content

Redundant jump instructions due to deleted unreachable bytecode blocks #86781

Description

@OmG-117
mannequin
BPO 42615
Nosy @markshannon, @OmG-117
PRs
  • bpo-42615: Delete redundant jump instructions that only bypass empty blocks #23733
  • Files
  • jmptest.py: This file contains a short function that exhibits this behavior. Notice the JUMP_FORWARD 0 instruction, which does nothing.
  • 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 2020-12-16.14:43:48.978>
    created_at = <Date 2020-12-10.16:47:13.158>
    labels = ['3.10', 'performance']
    title = 'Redundant jump instructions due to deleted unreachable bytecode blocks'
    updated_at = <Date 2020-12-16.14:43:48.978>
    user = 'https://github.com/OmG-117'

    bugs.python.org fields:

    activity = <Date 2020-12-16.14:43:48.978>
    actor = 'OmG'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-16.14:43:48.978>
    closer = 'OmG'
    components = []
    creation = <Date 2020-12-10.16:47:13.158>
    creator = 'OmG'
    dependencies = []
    files = ['49664']
    hgrepos = []
    issue_num = 42615
    keywords = ['patch']
    message_count = 2.0
    messages = ['382834', '383157']
    nosy_count = 2.0
    nosy_names = ['Mark.Shannon', 'OmG']
    pr_nums = ['23733']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue42615'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesperformancePerformance or resource usage

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions