Title: Refactor docstring handling code in the compiler
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.8
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, brett.cannon, inada.naoki, ncoghlan, serhiy.storchaka, yselivanov
Priority: normal Keywords: patch

Created on 2018-05-30 05:34 by serhiy.storchaka, last changed 2018-05-30 07:57 by serhiy.storchaka. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 7236 merged serhiy.storchaka, 2018-05-30 05:40
Messages (2)
msg318155 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-05-30 05:34
Similar non-trivial code is used in several places in the compiler for handling docstrings. The proposed PR adds a helper _PyAST_GetDocString() for reusing a code.
msg318159 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-05-30 07:56
New changeset 143ce5c6db77a0b9d451b8463dee6752358a9ea4 by Serhiy Storchaka in branch 'master':
bpo-33691: Add _PyAST_GetDocString(). (GH-7236)
Date User Action Args
2018-05-30 07:57:00serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-05-30 07:56:18serhiy.storchakasetmessages: + msg318159
2018-05-30 05:40:12serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request6866
2018-05-30 05:34:34serhiy.storchakacreate