Title: gh-102541: Hide traceback in help prompt by Eclips4 · Pull Request #102614 · python/cpython · GitHub
Open Graph Title: gh-102541: Hide traceback in help prompt by Eclips4 · Pull Request #102614 · python/cpython
X Title: gh-102541: Hide traceback in help prompt by Eclips4 · Pull Request #102614 · python/cpython
Description: Add is_cli param to doc function (by default, set to False). When is_cli arg is True, we raise a ImportError, otherwise, just show a missing_pattern. Although, add a variable missing_pattern, which now is used by resolve and doc functions. This PR absolutely compatible with #89130. I like tests, but i think, that case shouldn't be tested. If core-devs approve this, it should be merged to 3.11 and 3.12 branches. On 3.10 this works fine. Issue: gh-102541
Open Graph Description: Add is_cli param to doc function (by default, set to False). When is_cli arg is True, we raise a ImportError, otherwise, just show a missing_pattern. Although, add a variable missing_pattern, which...
X Description: Add is_cli param to doc function (by default, set to False). When is_cli arg is True, we raise a ImportError, otherwise, just show a missing_pattern. Although, add a variable missing_pattern, which...
Opengraph URL: https://github.com/python/cpython/pull/102614
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:713be184-6c2a-f5c6-a673-aabef930b445 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94FA:357CBB:28BBCA:36D2FA:6969D82E |
| html-safe-nonce | 5f26ab99e911ba5abea9056b217ef75478577212c5dfabf188e4138050a0e775 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEZBOjM1N0NCQjoyOEJCQ0E6MzZEMkZBOjY5NjlEODJFIiwidmlzaXRvcl9pZCI6IjYxNDQ2MTk0OTY2NDQxMzkwNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5fce0f55c8e14be6b4cb3674a37360e3e11a897e842686de1bf69de23e9b980 |
| hovercard-subject-tag | pull_request:1272178938 |
| 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/102614/files |
| twitter:image | https://avatars.githubusercontent.com/u/80244920?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/80244920?s=400&v=4 |
| og:image:alt | Add is_cli param to doc function (by default, set to False). When is_cli arg is True, we raise a ImportError, otherwise, just show a missing_pattern. Although, add a variable missing_pattern, which... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width