]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38870: Extend subject of ast.unparse warnings (GH-21053)
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>
Sun, 28 Jun 2020 01:11:43 +0000 (04:11 +0300)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2020 01:11:43 +0000 (02:11 +0100)
commit8df1016e2ef8c0a9f4d15bf7894c284295c99d9f
tree6d5798f78d6d39d903bd0fb95ded41b6e47fddfe
parent60eb9f1ab59a59ddf81d3da3513cfa3251169b5c
bpo-38870: Extend subject of ast.unparse warnings (GH-21053)

- Mention that some compiler optimizations might not roundtrip
exactly (such as constant tuples and frozensets).

- Add a warning about it might raise RecursionError on very
complex expressions due to recursive unparsing aspect of ast.unparse
Doc/library/ast.rst