Skip to content

Inspect library ignore comments at the end of a function (inspect.getsource) #86282

Description

@noureddinehamid
BPO 42116
Nosy @taleinat, @1st1, @miss-islington, @isidentical, @iritkatriel
PRs
  • bpo-42116: Fix inspect.getsource handling of trailing comments #23630
  • [3.9] bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) #23643
  • [3.8] bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) #23644
  • 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 2020-12-04.20:21:43.707>
    created_at = <Date 2020-10-22.10:48:43.969>
    labels = ['3.8', 'type-feature', 'library', '3.9', '3.10']
    title = 'Inspect library ignore comments at the end of a function (inspect.getsource)'
    updated_at = <Date 2020-12-15.13:21:15.932>
    user = 'https://bugs.python.org/noureddinehamid'

    bugs.python.org fields:

    activity = <Date 2020-12-15.13:21:15.932>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-04.20:21:43.707>
    closer = 'taleinat'
    components = ['Library (Lib)']
    creation = <Date 2020-10-22.10:48:43.969>
    creator = 'noureddine.hamid'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42116
    keywords = ['patch']
    message_count = 9.0
    messages = ['379289', '382416', '382417', '382505', '382526', '382527', '382528', '383047', '383054']
    nosy_count = 6.0
    nosy_names = ['taleinat', 'yselivanov', 'miss-islington', 'BTaskaya', 'iritkatriel', 'noureddine.hamid']
    pr_nums = ['23630', '23643', '23644']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue42116'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Fields

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions