Title: `ast.literal_eval` is still referred to as safe by the documentation for `eval` · Issue #100305 · python/cpython · GitHub
Open Graph Title: `ast.literal_eval` is still referred to as safe by the documentation for `eval` · Issue #100305 · python/cpython
X Title: `ast.literal_eval` is still referred to as safe by the documentation for `eval` · Issue #100305 · python/cpython
Description: Documentation From https://docs.python.org/3/library/functions.html#eval: See ast.literal_eval() for a function that can safely evaluate strings with expressions containing only literals. Linked PRs gh-100326
Open Graph Description: Documentation From https://docs.python.org/3/library/functions.html#eval: See ast.literal_eval() for a function that can safely evaluate strings with expressions containing only literals. Linked PR...
X Description: Documentation From https://docs.python.org/3/library/functions.html#eval: See ast.literal_eval() for a function that can safely evaluate strings with expressions containing only literals. Linked PR...
Opengraph URL: https://github.com/python/cpython/issues/100305
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ast.literal_eval` is still referred to as safe by the documentation for `eval`","articleBody":"# Documentation\r\n\r\nFrom https://docs.python.org/3/library/functions.html#eval:\r\n\u003e See [`ast.literal_eval()`](https://docs.python.org/3/library/ast.html#ast.literal_eval) for a function that can safely evaluate strings with expressions containing only literals.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-100326\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Zephyrkul","@type":"Person","name":"Zephyrkul"},"datePublished":"2022-12-16T19:25:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/100305/cpython/issues/100305"}
| 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:f610e352-b9b3-8adc-b67a-f5258491d2cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CBFE:8F2D5:9B1109:D8A9F6:696A24F7 |
| html-safe-nonce | b927a3522b3b9b3943698c457a4afcf0b1ce042a72b60487a412327b909dc068 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkZFOjhGMkQ1OjlCMTEwOTpEOEE5RjY6Njk2QTI0RjciLCJ2aXNpdG9yX2lkIjoiNzA1ODc2NjM1NzQ2ODk0NzcwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2783a246eef287dd0edb483d8f84a73e293c45ef416744e1ba434c9c5cb02236 |
| hovercard-subject-tag | issue:1500751124 |
| 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/100305/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d1ff2bb51f1a392e7d28cb4702878561e6509847d30b0905edc6d63c028bb42/python/cpython/issues/100305 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d1ff2bb51f1a392e7d28cb4702878561e6509847d30b0905edc6d63c028bb42/python/cpython/issues/100305 |
| og:image:alt | Documentation From https://docs.python.org/3/library/functions.html#eval: See ast.literal_eval() for a function that can safely evaluate strings with expressions containing only literals. Linked PR... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Zephyrkul |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width