Skip to content

[C API] Add public getter functions for the internal PyFrameObject structure #84601

@vstinner

Description

@vstinner
BPO 40421
Nosy @scoder, @vstinner, @nedbat, @encukou, @markshannon, @miss-islington, @brandtbucher
PRs
  • bpo-40421: Add pyframe.h header file #19755
  • bpo-40421: Add Include/cpython/code.h header file #19756
  • bpo-40421: Add PyFrame_GetCode() function #19757
  • bpo-40421: Add PyFrame_GetLastInstr() function #19764
  • bpo-40421: Add PyFrame_GetBack() function #19765
  • Add symbols of the stable ABI to python3dll.c #23598
  • [3.9] bpo-42415: Add symbols of the stable ABI to python3dll.c (GH-23598) #23801
  • bpo-40421: Fix PyFrame_GetCode() documentation #31535
  • bpo-40421: What's New in Python 3.11: PyFrameObject.f_lasti #31536
  • [3.9] bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535) #31537
  • [3.10] bpo-40421: Fix PyFrame_GetCode() documentation (GH-31535) #31538
  • bpo-40421: Add missing getters for frame object attributes to C-API. #32114
  • bpo-40421: test_capi uses assertEqual(), not assertEquals() #32361
  • bpo-40421: Add new PyFrame_GetLasti C-API function #32413
  • bpo-40421: Cleanup PyFrame C API #32417
  • 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 2022-04-06.13:18:28.654>
    created_at = <Date 2020-04-28.13:17:50.323>
    labels = ['expert-C-API', '3.11']
    title = '[C API] Add public getter functions for the internal PyFrameObject structure'
    updated_at = <Date 2022-04-08.14:45:29.774>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2022-04-08.14:45:29.774>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-04-06.13:18:28.654>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2020-04-28.13:17:50.323>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40421
    keywords = ['patch']
    message_count = 34.0
    messages = ['367527', '367532', '367535', '367545', '367550', '367604', '368342', '368350', '368424', '383167', '383209', '403814', '403815', '406144', '408953', '413719', '413720', '413797', '413835', '413842', '413843', '413844', '413845', '413848', '413849', '413850', '414314', '414344', '415777', '415791', '416447', '416866', '416867', '416870']
    nosy_count = 7.0
    nosy_names = ['scoder', 'vstinner', 'nedbat', 'petr.viktorin', 'Mark.Shannon', 'miss-islington', 'brandtbucher']
    pr_nums = ['19755', '19756', '19757', '19764', '19765', '23598', '23801', '31535', '31536', '31537', '31538', '32114', '32361', '32413', '32417']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40421'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions