Batuhan <batuhanosmantask...@gmail.com> added the comment:

> Maybe we need to clarify to the docs of 'unparse' that the AST object needs 
> to be valid.

As I stated earlier, constant tuple like things are valid but don't fit on 
description. Maybe we should only offically allow things that can be generated 
by ast.parse? We can still implement support for constant tuples etc but we 
shouldnt have to check malformed ast.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to