Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-33477: clarify compile "exec" mode and changes in 3.7 #6973

Closed
wants to merge 1 commit into from

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
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