Title: bpo-37444: Update differing exception between builtins and importlib by nsiregar · Pull Request #14869 · python/cpython · GitHub
Open Graph Title: bpo-37444: Update differing exception between builtins and importlib by nsiregar · Pull Request #14869 · python/cpython
X Title: bpo-37444: Update differing exception between builtins and importlib by nsiregar · Pull Request #14869 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Imports now raise TypeError instead of ValueError for relative import failures. This makes things consistent between builtins.__import__ and importlib.__import__ as well as using a more natural imp...
X Description: Imports now raise TypeError instead of ValueError for relative import failures. This makes things consistent between builtins.__import__ and importlib.__import__ as well as using a more natural imp...
Opengraph URL: https://github.com/python/cpython/pull/14869
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2902ad44-c6b6-6c88-af16-0b4fe744395f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8708:F9F90:A95B2A:E9EB05:6A57E6B2 |
| html-safe-nonce | bfe8b0f96d4c5c773c5a118a9ae3b1ea02801214d480b55dd09c526e6ecb2943 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA4OkY5RjkwOkE5NUIyQTpFOUVCMDU6NkE1N0U2QjIiLCJ2aXNpdG9yX2lkIjoiNTgzMzY1MjI3MjMxMjYwODQzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 20d3ad06cf8c003a2cedfa67721300980c0275c48fe159cd7c2af05098a2c6b6 |
| hovercard-subject-tag | pull_request:299572198 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/14869/checks |
| twitter:image | https://opengraph.githubassets.com/2e8858a4569606209c8c447301499d48bd00f25a020e1e0d8ef55206a99e0df2/python/cpython/pull/14869 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e8858a4569606209c8c447301499d48bd00f25a020e1e0d8ef55206a99e0df2/python/cpython/pull/14869 |
| og:image:alt | Imports now raise TypeError instead of ValueError for relative import failures. This makes things consistent between builtins.__import__ and importlib.__import__ as well as using a more natural imp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nsiregar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121 |
| turbo-cache-control | no-cache |
| 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 | 72a32c9d47294b6b7eb7f0250253277920c7a987 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width