Skip to content

Implement PEP 626 -- Precise line numbers for debugging #86412

Description

@markshannon
BPO42246
Nosy@nascheme, @nedbat, @methane, @markshannon, @pablogsal, @alexhenrie, @isidentical
PRs
  • bpo-42246: Partial implementation of PEP 626. #23113
  • bpo-42246: Bump magic number. #23245
  • bpo-42246: Eliminate jumps to exit blocks by copying those blocks. #23251
  • bpo-42246: Fix memory leak in compiler #23256
  • bpo-42246: Make sure that line number is correct after a return, as required by PEP 626 #23495
  • bpo-42246: Don't forget the entry block when ensuring that all exits have a line number #23636
  • bpo-42246: Remove DO_NOT_EMIT_BYTECODE macros, so that while loops and if statements conform to PEP 626. #23743
  • bpo-42246: Make sure that f_lasti, and thus f_lineno, is set correctly after raising or reraising an exception #23803
  • bpo-42246: Don't eliminate jumps to jump, if it will break PEP 626. #23896
  • bpo-42246: Delete the now unused c_do_not_emit_bytecode field. #24094
  • bpo-43358: Fix bad free in assemble function #24697
  • bpo-43372: Re-generate frozen code for __hello__. #24708
  • bpo-43372: Use BUILDPYTHON for regen-frozen. #24714
  • bpo-43372: Use _freeze_importlib for regen-frozen. #24759
  • bpo-42246: Mark POP_TOP at end of expression statement as artificial, to conform to PEP 626. #24860
  • bpo-42246: Add PEP 626 to what's new in 3.10. #24892
  • bpo-42246: Mention that code.co_lnotab is deprecated in what's new for 3.10. #24902
  • Files
  • IMAG0629_1(1).jpg
  • IMAG0629_1.jpg
  • IMAG0629_1.jpg
  • 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-03-02.11:08:24.441>created_at=<Date2020-11-02.15:32:42.250>labels= ['type-feature', '3.10']
    title='Implement PEP 626 -- Precise line numbers for debugging'updated_at=<Date2021-03-17.11:46:38.644>user='https://github.com/markshannon'

    bugs.python.org fields:

    activity=<Date2021-03-17.11:46:38.644>actor='Mark.Shannon'assignee='Mark.Shannon'closed=Trueclosed_date=<Date2021-03-02.11:08:24.441>closer='Mark.Shannon'components= []
    creation=<Date2020-11-02.15:32:42.250>creator='Mark.Shannon'dependencies= []
    files= ['49669', '49670', '49671']
    hgrepos= []
    issue_num=42246keywords= ['patch']
    message_count=28.0messages= ['380231', '380245', '380268', '380276', '380809', '380846', '380865', '380880', '382312', '382492', '382871', '382872', '382884', '382886', '382888', '382889', '382890', '382950', '382985', '383042', '383159', '383245', '383643', '387910', '388217', '388836', '388837', '388900']
    nosy_count=8.0nosy_names= ['nascheme', 'nedbat', 'methane', 'Mark.Shannon', 'pablogsal', 'alex.henrie', 'BTaskaya', 'zhtw1234']
    pr_nums= ['23113', '23245', '23251', '23256', '23495', '23636', '23743', '23803', '23896', '24094', '24697', '24708', '24714', '24759', '24860', '24892', '24902']
    priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue42246'versions= ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixestype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions