[issue19541] ast.dump(indent=True) prettyprinting

2019-12-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> Multiline ast.dump() ___ Python tracker ___

[issue19541] ast.dump(indent=True) prettyprinting

2019-12-01 Thread Batuhan
Batuhan added the comment: issue 37995 has added pretty printing to the ast.dump, IMHO this issue can be closed. -- nosy: +BTaskaya ___ Python tracker ___ ___

[issue19541] ast.dump(indent=True) prettyprinting

2015-03-14 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19541] ast.dump(indent=True) prettyprinting

2013-11-19 Thread anatoly techtonik
anatoly techtonik added the comment: Implemented more advanced interface with filtering and tests - here - https://bitbucket.org/techtonik/astdump/ Right now the output is not so detailed, but it may change if the need arises. -- ___ Python tracker

[issue19541] ast.dump(indent=True) prettyprinting

2013-11-11 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: docs@python -> components: +Library (Lib) -Documentation nosy: -docs@python priority: normal -> low stage: -> test needed type: -> enhancement versions: +Python 3.4 ___ Python tracker

[issue19541] ast.dump(indent=True) prettyprinting

2013-11-09 Thread anatoly techtonik
New submission from anatoly techtonik: ast.dump needs an indent argument for pretty printing. from pprint import pprint as pp pp(ast.dump(node)) "Assign(targets=[Tuple(elts=[Name(id='d', ctx=Store()), Name(id='m', ctx=Store())], ctx=Store())], value=Call(func=Name(id='divmod', ctx=Load()