Issue 38872: Document exec symbol for codeop.compile_command
Created on 2019-11-21 01:14 by cheryl.sabella, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 20047 | merged | nanjekyejoannah, 2020-05-12 00:45 | |
| PR 20098 | merged | miss-islington, 2020-05-15 01:00 | |
| PR 20099 | merged | miss-islington, 2020-05-15 01:00 | |
| Messages (6) | |||
|---|---|---|---|
| msg357118 - (view) | Author: Cheryl Sabella (cheryl.sabella) * ![]() |
Date: 2019-11-21 01:14 | |
codeop.compile_command accepts 'exec' as a symbol, but it is not documented. Opening this bug report for an issue initially reported in PR3179. |
|||
| msg362297 - (view) | Author: Ananthakrishnan (Ananthakrishnan) * | Date: 2020-02-20 04:45 | |
code.compile_command takes _exec_ as symbol.As it is not documented or mentioned anywhere I can't find any details about that.Can anyone please tell me what it does? |
|||
| msg368596 - (view) | Author: Matthias Bussonnier (mbussonn) * | Date: 2020-05-10 23:12 | |
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. |
|||
| msg368889 - (view) | Author: Joannah Nanjekye (nanjekyejoannah) * ![]() |
Date: 2020-05-15 00:59 | |
New changeset 7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac by Joannah Nanjekye in branch 'master': bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) https://github.com/python/cpython/commit/7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac |
|||
| msg368900 - (view) | Author: Joannah Nanjekye (nanjekyejoannah) * ![]() |
Date: 2020-05-15 01:19 | |
New changeset c1203b75ffe429b28cb2e2480deb0d0b8d3a941c by Miss Islington (bot) in branch '3.7': bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) (#20099) https://github.com/python/cpython/commit/c1203b75ffe429b28cb2e2480deb0d0b8d3a941c |
|||
| msg368911 - (view) | Author: Joannah Nanjekye (nanjekyejoannah) * ![]() |
Date: 2020-05-15 01:38 | |
New changeset eb5ce324f724a59c51d7a76d1dd49b550cdf386b by Miss Islington (bot) in branch '3.8': bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) (GH-20098) https://github.com/python/cpython/commit/eb5ce324f724a59c51d7a76d1dd49b550cdf386b |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:23 | admin | set | github: 83053 |
| 2020-05-15 01:38:24 | nanjekyejoannah | set | messages: + msg368911 |
| 2020-05-15 01:19:45 | nanjekyejoannah | set | messages: + msg368900 |
| 2020-05-15 01:11:17 | nanjekyejoannah | set | status: open -> closed stage: patch review -> resolved |
| 2020-05-15 01:00:21 | miss-islington | set | pull_requests: + pull_request19404 |
| 2020-05-15 01:00:11 | miss-islington | set | nosy:
+ miss-islington pull_requests: + pull_request19403 |
| 2020-05-15 00:59:53 | nanjekyejoannah | set | messages: + msg368889 |
| 2020-05-12 00:45:57 | nanjekyejoannah | set | keywords:
+ patch nosy: + nanjekyejoannah pull_requests:
+ pull_request19356 |
| 2020-05-10 23:12:20 | mbussonn | set | messages: + msg368596 |
| 2020-05-10 22:30:50 | mbussonn | set | nosy:
+ mbussonn |
| 2020-02-20 04:45:06 | Ananthakrishnan | set | nosy:
+ Ananthakrishnan messages: + msg362297 |
| 2019-11-21 01:14:06 | cheryl.sabella | create | |
