- 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
.. warning::
The produced code string will not necessarily be equal to the original
- code that generated the :class:`ast.AST` object.
+ code that generated the :class:`ast.AST` object (without any compiler
+ optimizations, such as constant tuples/frozensets).
+
+ .. warning::
+ Trying to unparse a highly complex expression would result with
+ :exc:`RecursionError`.
.. versionadded:: 3.9