]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-38870: Extend subject of ast.unparse warnings (GH-21053) (GH-21191)
authorPablo Galindo <Pablogsal@gmail.com>
Sun, 28 Jun 2020 01:22:30 +0000 (02:22 +0100)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2020 01:22:30 +0000 (02:22 +0100)
commit6e39999a246a019a356e1befcdfd3d54a52cb7b5
treed115f8a48c6df398c47b651a6a498a4887933e37
parent6803ff28f8b9c57ae2442c56e3e5d265f46aea15
[3.9] bpo-38870: Extend subject of ast.unparse warnings (GH-21053) (GH-21191)

- 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 the recursive unparsing aspect of ast.unparse
(cherry picked from commit 8df1016)
Doc/library/ast.rst