Skip to content

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Jun 28, 2020

  • 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
    (cherry picked from commit 8df1016)

Co-authored-by: Batuhan Taskaya batuhanosmantaskaya@gmail.com

https://bugs.python.org/issue38870

- 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
(cherry picked from commit 8df1016)

Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
@isidentical
Copy link
Member

isidentical commented Jun 28, 2020

I was about to backport but looks like you're way faster than me 😊

@pablogsal
Copy link
Member Author

I was about to backport but looks like you're way faster than me

😉

@pablogsal pablogsal merged commit 6e39999 into python:3.9 Jun 28, 2020
@pablogsal pablogsal deleted the backport-8df1016-3.9 branch June 28, 2020 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants