New submission from Mark Shannon <m...@hotpy.org>: Python 3.7.0b1+ (heads/3.7:dfa1144, Feb 22 2018, 12:10:59)
>>> m = ast.parse("def foo():\n 'help'") >>> m.body[0].body [] Correct behaviour (3.6 or earlier) >>> m = ast.parse("def foo():\n 'help'") >>> m.body[0].body [<_ast.Expr object at 0x7fb9eeb1d4e0>] ---------- components: Library (Lib) keywords: 3.7regression messages: 312557 nosy: Mark.Shannon priority: normal severity: normal status: open title: Doc strings omitted from AST type: behavior versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32911> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com