Skip to content

Regression in python3.10 with traceback frame having lineno of -1 #88099

Description

@asottile
mannequin
BPO43933
Nosy@gvanrossum, @vstinner, @nedbat, @encukou, @markshannon, @asottile, @pablogsal
PRs
  • bpo-43933: Show frame.f_lineno as None, rather than -1, if there is no line number. #25717
  • bpo-43933: Set frame.f_lineno during call to __exit__ #25719
  • bpo-43933: Force RETURN_VALUE bytecodes to have line numbers #26054
  • [3.10] bpo-43933: Force RETURN_VALUE bytecodes to have line numbers #26061
  • 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=<Date2021-04-30.13:34:44.252>created_at=<Date2021-04-24.19:56:33.908>labels= ['release-blocker', '3.10', '3.11']
    title='Regression in python3.10 with traceback frame having lineno of -1'updated_at=<Date2021-06-07.20:58:11.753>user='https://github.com/asottile'

    bugs.python.org fields:

    activity=<Date2021-06-07.20:58:11.753>actor='vstinner'assignee='Mark.Shannon'closed=Trueclosed_date=<Date2021-04-30.13:34:44.252>closer='Mark.Shannon'components= []
    creation=<Date2021-04-24.19:56:33.908>creator='Anthony Sottile'dependencies= []
    files= []
    hgrepos= []
    issue_num=43933keywords= ['patch']
    message_count=27.0messages= ['391795', '391798', '391799', '391893', '391897', '391908', '391915', '392066', '392303', '392343', '392431', '392432', '392448', '392463', '392604', '392605', '392888', '392895', '392897', '392915', '392916', '392970', '393376', '393481', '393579', '393596', '395286']
    nosy_count=7.0nosy_names= ['gvanrossum', 'vstinner', 'nedbat', 'petr.viktorin', 'Mark.Shannon', 'Anthony Sottile', 'pablogsal']
    pr_nums= ['25717', '25719', '26054', '26061']
    priority='release blocker'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype=Noneurl='https://bugs.python.org/issue43933'versions= ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions