Skip to content

Incorrect line number in bytecode for try-except-finally #86800

@markshannon

Description

@markshannon
BPO 42634
Nosy @nedbat, @markshannon, @pablogsal
PRs
  • bpo-42634: Don't generate spurious line number in try-except-finally. #23760
  • bpo-42634: Mark reraise after except blocks as artificial. #23877
  • 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/markshannon'
    closed_at = <Date 2021-02-01.23:38:55.483>
    created_at = <Date 2020-12-14.07:24:56.034>
    labels = ['type-bug', '3.10', 'release-blocker']
    title = 'Incorrect line number in bytecode for try-except-finally'
    updated_at = <Date 2021-02-01.23:38:55.477>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-02-01.23:38:55.477>
    actor = 'Mark.Shannon'
    assignee = 'Mark.Shannon'
    closed = True
    closed_date = <Date 2021-02-01.23:38:55.483>
    closer = 'Mark.Shannon'
    components = []
    creation = <Date 2020-12-14.07:24:56.034>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42634
    keywords = ['patch']
    message_count = 7.0
    messages = ['382958', '383448', '383449', '383520', '386107', '386116', '386121']
    nosy_count = 3.0
    nosy_names = ['nedbat', 'Mark.Shannon', 'pablogsal']
    pr_nums = ['23760', '23877']
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42634'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesrelease-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions