]> granicus.if.org Git - python/commit
bpo-32911: Revert bpo-29463. (GH-7121)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 29 May 2018 07:49:10 +0000 (10:49 +0300)
committerGitHub <noreply@github.com>
Tue, 29 May 2018 07:49:10 +0000 (10:49 +0300)
commit2641ee5040abb090e66e4ff80c33b76729b36e75
tree8f37d0577e1fb981b1fb0ce97b79f3c75446cffd
parenteca085993cb8620ba9232560f46d91326a13cdd2
bpo-32911: Revert bpo-29463. (GH-7121)

Remove the docstring attribute of AST types and restore docstring
expression as a first stmt in their body.

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
18 files changed:
Doc/library/ast.rst
Doc/whatsnew/3.7.rst
Include/Python-ast.h
Lib/ast.py
Lib/importlib/_bootstrap_external.py
Lib/test/test_ast.py
Lib/test/test_opcodes.py
Misc/NEWS.d/3.7.0a1.rst
Misc/NEWS.d/next/Core and Builtins/2018-02-27-20-57-00.bpo-32911.cmKfco.rst [new file with mode: 0644]
Parser/Python.asdl
Python/Python-ast.c
Python/ast.c
Python/ast_opt.c
Python/compile.c
Python/future.c
Python/importlib.h
Python/importlib_external.h
Tools/parser/unparse.py