Skip to content

inspect.getsourcelines finds wrong lines when lambda used argument to decorator #65416

@ballingt

Description

@ballingt
mannequin
BPO 21217
Nosy @terryjreedy, @ncoghlan, @pitrou, @meadori, @PCManticore, @1st1
Files
  • issue21217.patch
  • issue21217-v2.patch
  • issue21217-v3.patch
  • issue21217-v4.patch
  • issue21217-v5.patch
  • issue21217-v6.patch
  • 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 2015-04-14.22:42:37.704>
    created_at = <Date 2014-04-14.17:31:00.288>
    labels = ['type-bug', 'library']
    title = 'inspect.getsourcelines finds wrong lines when lambda used argument to decorator'
    updated_at = <Date 2015-07-24.04:00:15.970>
    user = 'https://bugs.python.org/ballingt'

    bugs.python.org fields:

    activity = <Date 2015-07-24.04:00:15.970>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-04-14.22:42:37.704>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2014-04-14.17:31:00.288>
    creator = 'ballingt'
    dependencies = []
    files = ['34857', '34882', '34885', '38959', '38965', '38970']
    hgrepos = []
    issue_num = 21217
    keywords = ['patch']
    message_count = 22.0
    messages = ['216127', '216128', '216245', '216344', '216345', '216351', '216352', '216357', '240738', '240749', '240787', '240791', '241050', '241051', '241077', '241079', '245868', '245872', '245876', '245915', '247202', '247245']
    nosy_count = 9.0
    nosy_names = ['terry.reedy', 'ncoghlan', 'pitrou', 'meador.inge', 'Claudiu.Popa', 'python-dev', 'yselivanov', 'akaptur', 'ballingt']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue21217'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions