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/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:9775f245-fee7-6507-259c-ef46bfe62c8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDB0:16C063:285E3C:36571B:6A57F99B |
| html-safe-nonce | 419c7afac3aab1c8d55e0a3b2b3bd6118aafe8126463e909f027b08caeedf3a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREIwOjE2QzA2MzoyODVFM0M6MzY1NzFCOjZBNTdGOTlCIiwidmlzaXRvcl9pZCI6IjI3NTY3NjU5MDY1MDg0NDYxMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8abf3b17de1361c8b12e5cbb8dbb5e8487102c00937a901633630dc2c851bfb3 |
| hovercard-subject-tag | pull_request:299572198 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/commits |
| 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 | 3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width