Skip to content

inspect.getframeinfo() doesn't handle frames without lineno #89726

@malemburg

Description

@malemburg
BPO 45563
Nosy @malemburg, @markshannon, @graingert, @lysnikolaou, @pablogsal
PRs
  • gh-89726 handle frame.f_lineno is None in inspect.getframeinfo #32044
  • 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 = None
    created_at = <Date 2021-10-21.22:02:12.400>
    labels = ['interpreter-core', 'library', '3.10']
    title = "inspect.getframeinfo() doesn't handle frames without lineno"
    updated_at = <Date 2022-03-22.10:52:45.856>
    user = 'https://github.com/malemburg'

    bugs.python.org fields:

    activity = <Date 2022-03-22.10:52:45.856>
    actor = 'Mark.Shannon'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core', 'Library (Lib)']
    creation = <Date 2021-10-21.22:02:12.400>
    creator = 'lemburg'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45563
    keywords = ['patch']
    message_count = 11.0
    messages = ['404674', '404745', '404763', '404765', '404800', '404802', '404808', '404830', '404835', '404861', '415758']
    nosy_count = 5.0
    nosy_names = ['lemburg', 'Mark.Shannon', 'graingert', 'lys.nikolaou', 'pablogsal']
    pr_nums = ['32044']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45563'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibStandard Library Python modules in the Lib/ directorytriagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions