Title: mypy on python3.12 raises `DeprecationWarning` from `ast` · Issue #15330 · python/mypy · GitHub
Open Graph Title: mypy on python3.12 raises `DeprecationWarning` from `ast` · Issue #15330 · python/mypy
X Title: mypy on python3.12 raises `DeprecationWarning` from `ast` · Issue #15330 · python/mypy
Description: Bug Report From https://docs.python.org/3.12/whatsnew/3.12.html The following ast features have been deprecated in documentation since Python 3.8, now cause a DeprecationWarning to be emitted at runtime when they are accessed or used, an...
Open Graph Description: Bug Report From https://docs.python.org/3.12/whatsnew/3.12.html The following ast features have been deprecated in documentation since Python 3.8, now cause a DeprecationWarning to be emitted at ru...
X Description: Bug Report From https://docs.python.org/3.12/whatsnew/3.12.html The following ast features have been deprecated in documentation since Python 3.8, now cause a DeprecationWarning to be emitted at ru...
Opengraph URL: https://github.com/python/mypy/issues/15330
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy on python3.12 raises `DeprecationWarning` from `ast`","articleBody":"**Bug Report**\r\n\r\nFrom https://docs.python.org/3.12/whatsnew/3.12.html\r\n\r\n> * The following [ast](https://docs.python.org/3.12/library/ast.html#module-ast) features have been deprecated in documentation since Python 3.8, now cause a [DeprecationWarning](https://docs.python.org/3.12/library/exceptions.html#DeprecationWarning) to be emitted at runtime when they are accessed or used, and will be removed in Python 3.14:\r\n * ast.Num\r\n * ast.Str\r\n * ast.Bytes\r\n * ast.NameConstant\r\n * ast.Ellipsis\r\n>\r\n> Use [ast.Constant](https://docs.python.org/3.12/library/ast.html#ast.Constant) instead. (Contributed by Serhiy Storchaka in [gh-90953](https://github.com/python/cpython/issues/90953).)\r\n\r\nRaised in `fastparse.py`, but haven't checked if they're present elsewhere\r\nhttps://github.com/python/mypy/blob/3d2f43772262060fdb1921933da6dc8c7d8ad8a1/mypy/fastparse.py#L133-L151","author":{"url":"https://github.com/jakkdl","@type":"Person","name":"jakkdl"},"datePublished":"2023-05-31T12:54:33Z","url":"https://github.com/python/mypy/issues/15330"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:69687499-3969-d337-4cb1-7c5a42adfe6b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2E8:1A12A9:4BE8FA:658F20:6B002EA2 |
| html-safe-nonce | 6a4694585c9a2d61cb924beb4e3c58ab7c3eca8e871b6d47a1ff6ee7a9f60fe1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkU4OjFBMTJBOTo0QkU4RkE6NjU4RjIwOjZCMDAyRUEyIiwidmlzaXRvcl9pZCI6Ijc3MjM3MjA5MzgwODgzMTI0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a25cc79fdbf9f87ff43c4f978becb531c7116b8a2fe7806d8e6c7d189889fd1d |
| hovercard-subject-tag | issue:1734162563 |
| 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/mypy/15330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4fe183f611bc2e0293cd5bb033297a23fa463fd36c814aab8a17ec9256cba79/python/mypy/issues/15330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4fe183f611bc2e0293cd5bb033297a23fa463fd36c814aab8a17ec9256cba79/python/mypy/issues/15330 |
| og:image:alt | Bug Report From https://docs.python.org/3.12/whatsnew/3.12.html The following ast features have been deprecated in documentation since Python 3.8, now cause a DeprecationWarning to be emitted at ru... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jakkdl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width