Title: Python 3.14 no longer has `_ERR_MSG` that can be imported from `importlib._bootstrap` · Issue #20628 · github/codeql · GitHub
Open Graph Title: Python 3.14 no longer has `_ERR_MSG` that can be imported from `importlib._bootstrap` · Issue #20628 · github/codeql
X Title: Python 3.14 no longer has `_ERR_MSG` that can be imported from `importlib._bootstrap` · Issue #20628 · github/codeql
Description: codeql/python/extractor/imp.py Line 20 in ab9f78f from importlib._bootstrap import _ERR_MSG, _exec, _load, _builtin_from_name $ python3.13 --version ; python3.13 -c "from importlib._bootstrap import _ERR_MSG" Python 3.13.5 $ python3.14 -...
Open Graph Description: codeql/python/extractor/imp.py Line 20 in ab9f78f from importlib._bootstrap import _ERR_MSG, _exec, _load, _builtin_from_name $ python3.13 --version ; python3.13 -c "from importlib._bootstrap impor...
X Description: codeql/python/extractor/imp.py Line 20 in ab9f78f from importlib._bootstrap import _ERR_MSG, _exec, _load, _builtin_from_name $ python3.13 --version ; python3.13 -c "from importlib._bootstrap ...
Opengraph URL: https://github.com/github/codeql/issues/20628
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python 3.14 no longer has `_ERR_MSG` that can be imported from `importlib._bootstrap`","articleBody":"https://github.com/github/codeql/blob/ab9f78fee25a686eb5133ec708e665be847e4517/python/extractor/imp.py#L20\n\n```\n$ python3.13 --version ; python3.13 -c \"from importlib._bootstrap import _ERR_MSG\"\nPython 3.13.5\n$ python3.14 --version ; python3.14 -c \"from importlib._bootstrap import _ERR_MSG\"\nPython 3.14.0\nTraceback (most recent call last):\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\n from importlib._bootstrap import _ERR_MSG\nImportError: cannot import name '_ERR_MSG' from 'importlib._bootstrap' (/usr/lib/python3.14/importlib/_bootstrap.py)\n```\n\nPython 3.14 no longer has `_ERR_MSG` that can be imported from `importlib._bootstrap`.\n\nThis occurs on the current [main](https://github.com/github/codeql/blob/ab9f78fee25a686eb5133ec708e665be847e4517/python/extractor/imp.py#L20) branch, as well as recent versions [2.23.2](https://github.com/github/codeql/blob/a05ffdbc810d58f3bf9cd44f48fab7b31fdea9fa/python/extractor/imp.py#L20) and [2.23.1](https://github.com/github/codeql/blob/ce9c8e6e9fd41ef0967b13849bb6ae2183caf9ad/python/extractor/imp.py#L20).","author":{"url":"https://github.com/nth10sd","@type":"Person","name":"nth10sd"},"datePublished":"2025-10-13T01:58:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/20628/codeql/issues/20628"}
| 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:8df2e978-9eaf-9f66-227c-4201c7e91344 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B010:CD887:2032BFF:2C3A815:6A4ED1BF |
| html-safe-nonce | c4df97233a0e891bc80bf7d263c31aa6596e19cee62b126a829f3f047e8ad159 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDEwOkNEODg3OjIwMzJCRkY6MkMzQTgxNTo2QTRFRDFCRiIsInZpc2l0b3JfaWQiOiI3NTg4NTcyMDY5NzU2ODUwNjI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6f13bfece9533025a34d2be1ba69c8146e57de899fd04c66e38edc07c71faf8c |
| hovercard-subject-tag | issue:3508209327 |
| 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/github/codeql/20628/issue_layout |
| twitter:image | https://opengraph.githubassets.com/10c799437e889ea1226ac850cda84774f312252269ec663bdc037bebb32df78f/github/codeql/issues/20628 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10c799437e889ea1226ac850cda84774f312252269ec663bdc037bebb32df78f/github/codeql/issues/20628 |
| og:image:alt | codeql/python/extractor/imp.py Line 20 in ab9f78f from importlib._bootstrap import _ERR_MSG, _exec, _load, _builtin_from_name $ python3.13 --version ; python3.13 -c "from importlib._bootstrap impor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nth10sd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width