Thanks to visit codestin.com
Credit goes to github.com

Skip to content

inspect.getsourcefile and inspect.getcomments do not work with decorated functions #78486

Open
@eric-wieser

Description

@eric-wieser
BPO 34305
Nosy @1st1, @eric-wieser, @tirkarthi
PRs
  • gh-78486: Unwrap decorators in getfile, rather than downstream #8602
  • 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 2018-08-01.07:20:53.875>
    labels = ['library']
    title = 'inspect.getsourcefile and inspect.getcomments do not work with decorated functions'
    updated_at = <Date 2020-03-12.09:29:43.433>
    user = 'https://github.com/eric-wieser'

    bugs.python.org fields:

    activity = <Date 2020-03-12.09:29:43.433>
    actor = 'Eric Wieser'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2018-08-01.07:20:53.875>
    creator = 'Eric.Wieser'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34305
    keywords = ['patch']
    message_count = 4.0
    messages = ['322847', '324704', '363448', '364006']
    nosy_count = 5.0
    nosy_names = ['yselivanov', 'Eric.Wieser', 'rmccampbell7', 'xtreak', 'Eric Wieser']
    pr_nums = ['8602']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue34305'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibPython modules in the Lib dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions