This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mbussonn
Recipients Ananthakrishnan, cheryl.sabella, docs@python, mbussonn
Date 2020-05-10.23:12:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589152340.35.0.216100470899.issue38872@roundup.psfhosted.org>
In-reply-to
Content
See the `compile()` documentation for the difference between eval/single/exec:

https://docs.python.org/3/library/functions.html#compile

`exec` is meant for multiline program, for example you would "exec" the string read from a file to get a module. 

I don't think we should re-document what each of these does, but list the possible values that compile_command/CommandCompiler() can take.
History
Date User Action Args
2020-05-10 23:12:20mbussonnsetrecipients: + mbussonn, docs@python, cheryl.sabella, Ananthakrishnan
2020-05-10 23:12:20mbussonnsetmessageid: <1589152340.35.0.216100470899.issue38872@roundup.psfhosted.org>
2020-05-10 23:12:20mbussonnlinkissue38872 messages
2020-05-10 23:12:20mbussonncreate