Skip to content

Conversation

@Carreau
Copy link
Contributor

@Carreau Carreau commented May 18, 2018

This makes it slightly clearer that compile(..., 'exec') is supposed
to be interpreted as a module and not just a sequence of statement, and
note that the body the returned Module have changed in 3.7.

https://bugs.python.org/issue33477

@Carreau Carreau force-pushed the document-compile-docstring branch 2 times, most recently from 3cd2c5f to de66ba0 Compare May 21, 2018 23:00
This makes it slightly clearer that `compile(..., 'exec')` is supposed
to be interpreted as a module and not just a sequence of statement, and
note that the *body* the returned `Module` have changed in 3.7.
@Carreau Carreau force-pushed the document-compile-docstring branch from de66ba0 to 62796e7 Compare May 22, 2018 18:33
@Carreau
Copy link
Contributor Author

Carreau commented Jun 5, 2018

Closing has the AST changes have been reverted.

@Carreau Carreau closed this Jun 5, 2018
@Carreau Carreau deleted the document-compile-docstring branch October 20, 2025 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants