Title: AST constructor can stack overflow when compiling some deep trees · Issue #95185 · python/cpython · GitHub
Open Graph Title: AST constructor can stack overflow when compiling some deep trees · Issue #95185 · python/cpython
X Title: AST constructor can stack overflow when compiling some deep trees · Issue #95185 · python/cpython
Description: This crashes CPython on most machines (use a release build): python3 -c 'import ast; ast.parse("+0"*209644)'
Open Graph Description: This crashes CPython on most machines (use a release build): python3 -c 'import ast; ast.parse("+0"*209644)'
X Description: This crashes CPython on most machines (use a release build): python3 -c 'import ast; ast.parse("+0"*209644)'
Opengraph URL: https://github.com/python/cpython/issues/95185
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AST constructor can stack overflow when compiling some deep trees","articleBody":"This crashes CPython on most machines (use a release build):\r\n\r\n```\r\npython3 -c 'import ast; ast.parse(\"+0\"*209644)'\r\n```","author":{"url":"https://github.com/pablogsal","@type":"Person","name":"pablogsal"},"datePublished":"2022-07-23T23:27:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/95185/cpython/issues/95185"}
| 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:54568613-c6d2-c746-d1ba-6abab360f7c1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6D6:391EE7:438D7E:5B2DD4:6A5703DC |
| html-safe-nonce | c8e4c837c1bf070ab8895501d323d7aea52218248616e17e8d28c23f7dde6729 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkQ2OjM5MUVFNzo0MzhEN0U6NUIyREQ0OjZBNTcwM0RDIiwidmlzaXRvcl9pZCI6IjI0MDY3MTEyNzU3MjIwNDg0NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4f04bd562ab4f29045a45468f74a8cb8d935274feebadaf313a6f67d828c70a4 |
| hovercard-subject-tag | issue:1315765786 |
| 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/95185/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9aaf27e4cec635b6da70be81dc968c21330599bf5cad48b0e1990d3a035a9869/python/cpython/issues/95185 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9aaf27e4cec635b6da70be81dc968c21330599bf5cad48b0e1990d3a035a9869/python/cpython/issues/95185 |
| og:image:alt | This crashes CPython on most machines (use a release build): python3 -c 'import ast; ast.parse("+0"*209644)' |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb29e5f807bd95e41196adfbc6d28f9af12d89830d8b684f3e871774ddff2fc |
| 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 | b056788a129fb0194b61f2ebb4c43f6a9f4dfd27 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width