Skip to content

Add docstring field to AST nodes #73649

@methane

Description

@methane
BPO 29463
Nosy @birkenfeld, @vstinner, @benjaminp, @methane, @serhiy-storchaka, @jeff5, @Carreau
PRs
  • bpo-29463: Add docstring field to some AST nodes. #46
  • bpo-29637: clean docstring only if not None #267
  • [3.8] bpo-32911: Revert bpo-29463. (GH-7121) #7197
  • Files
  • ast-docstring.patch
  • ast-docstring-2.patch
  • ast-docstring-3.patch: fix docs
  • 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 2017-02-23.03:36:33.764>
    created_at = <Date 2017-02-06.14:21:16.297>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Add `docstring` field to AST nodes'
    updated_at = <Date 2018-05-29.09:04:58.660>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2018-05-29.09:04:58.660>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-02-23.03:36:33.764>
    closer = 'methane'
    components = ['Interpreter Core']
    creation = <Date 2017-02-06.14:21:16.297>
    creator = 'methane'
    dependencies = []
    files = ['46543', '46567', '46569']
    hgrepos = []
    issue_num = 29463
    keywords = ['patch']
    message_count = 23.0
    messages = ['287136', '287207', '287215', '287273', '287283', '287287', '287289', '287292', '287293', '287365', '287366', '287378', '287620', '287634', '287636', '288373', '288374', '288399', '288400', '290419', '290429', '317987', '317991']
    nosy_count = 7.0
    nosy_names = ['georg.brandl', 'vstinner', 'benjamin.peterson', 'methane', 'serhiy.storchaka', 'jeff.allen', 'mbussonn']
    pr_nums = ['46', '267', '7197']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29463'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions