bpo-33477: clarify compile "exec" mode and changes in 3.7 by Carreau · Pull Request #6973 · python/cpython

@Carreau

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 deleted the document-compile-docstring branch

October 20, 2025 13:16