This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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

Created on 2018-05-30 05:34 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin. 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)
https://github.com/python/cpython/commit/143ce5c6db77a0b9d451b8463dee6752358a9ea4
History
Date User Action Args
2022-04-11 14:59:01adminsetgithub: 77872
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