Title: Outdated term “condition list” in eval() documentation · Issue #153808 · python/cpython · GitHub
Open Graph Title: Outdated term “condition list” in eval() documentation · Issue #153808 · python/cpython
X Title: Outdated term “condition list” in eval() documentation · Issue #153808 · python/cpython
Description: Documentation Issue The documentation for eval() uses the term "condition list", which does not correspond to any construct in the current Python grammar. As a result, it is unclear what grammar element this term is intended to refer to....
Open Graph Description: Documentation Issue The documentation for eval() uses the term "condition list", which does not correspond to any construct in the current Python grammar. As a result, it is unclear what grammar el...
X Description: Documentation Issue The documentation for eval() uses the term "condition list", which does not correspond to any construct in the current Python grammar. As a result, it is unclear what ...
Opengraph URL: https://github.com/python/cpython/issues/153808
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Outdated term “condition list” in eval() documentation","articleBody":"### Documentation\n\n### Issue\nThe documentation for `eval()` uses the term \"condition list\", which does not correspond to any construct in the current Python grammar.\nAs a result, it is unclear what grammar element this term is intended to refer to.\n\n> The source argument is parsed and evaluated as a Python expression (technically speaking, a condition list) using the globals and locals mappings as global and local namespace.\n\n### Suggested fixes (choose one):\n1. Replace \"condition list\" with \"expression list\"\n2. Remove \"(technically speaking, a condition list)\". since this is already self-evident as \"expressions\" in the PEG grammar.\n\n### Background\nIn Python 1.3, the term \"condition list\" appeared in `eval()` as well as in the Expressions and Statements sections(ref5,6,7) of the documentation.\nIn Python 1.4, the term \"condition list\" no longer appeared in these references(except in `eval()`).\n\nThis suggests that the remaining occurrence in `eval()` is likely an oversight from that transition.\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-153811\n* gh-153923\n* gh-153924\n* gh-153925\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/tenmyo","@type":"Person","name":"tenmyo"},"datePublished":"2026-07-16T10:19:56Z","url":"https://github.com/python/cpython/issues/153808"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0859ed47-db67-a653-f51b-88e5c5c053dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFBE:3AFDE1:229FE2:2E57E3:6AECC4DB |
| html-safe-nonce | 4a622a1d4acc03a0684d118f16717cac9f774b32195505a239d80fb821d6e3b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkJFOjNBRkRFMToyMjlGRTI6MkU1N0UzOjZBRUNDNERCIiwidmlzaXRvcl9pZCI6IjYwNjk5NDAwOTEzODUzMzI5NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 29b77fc6e31f382f2543a4268652b14cf23ced86945ae068c0e1df28b94f2548 |
| hovercard-subject-tag | issue:4901022134 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/153808/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7183afd2136f479c8b109d306cc4a49e34a090ad350c24cfb0c5cd2149feaf2/python/cpython/issues/153808 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7183afd2136f479c8b109d306cc4a49e34a090ad350c24cfb0c5cd2149feaf2/python/cpython/issues/153808 |
| og:image:alt | Documentation Issue The documentation for eval() uses the term "condition list", which does not correspond to any construct in the current Python grammar. As a result, it is unclear what grammar el... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tenmyo |
| hostname | github.com |
| expected-hostname | github.com |
| None | dc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | db139f0bf57b59bf9a8c4abb0849924d6c6ca559 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width