Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
gh-102541: Hide traceback in help prompt#102614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Could someone review it? =) |
Uh oh!
There was an error while loading.Please reload this page.
@sobolevn |
Can someone from core developers review it? |
terryjreedy commentedJun 12, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The most appropriate coredev reviewer would be whoever merged the PR that caused the regression. That would have to be a feature addition after 3.10.0b1, May 2021 (and hence not backported to 3.10) and before 3.11.0 in Oct 2022.#98450 fixed a related bug -- help need more automated tests. |
I will take a look at this PR tonight (UTC+9) |
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM with nit comment.
Writing test code will be great, but I know this case is very hard to write. :)
Please rebase the PR. |
Misc/NEWS.d/next/Library/2023-03-12-01-17-15.gh-issue-102541.LK1adc.rst OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Sorry,@Eclips4 and@corona10, I could not cleanly backport this to |
(cherry picked from commitba516e7)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
bedevere-bot commentedJun 14, 2023
GH-105778 is a backport of this pull request to the3.12 branch. |
bedevere-bot commentedJun 15, 2023
GH-105830 is a backport of this pull request to the3.11 branch. |
(cherry picked from commitba516e7)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Uh oh!
There was an error while loading.Please reload this page.
Add
is_cli
param todoc
function (by default, set toFalse
).When
is_cli
arg isTrue
, we raise a ImportError, otherwise, just show amissing_pattern
.Although, add a variable
missing_pattern
, which now is used byresolve
anddoc
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
and3.12
branches.On 3.10 this works fine.
help
CLI shows a traceback when import failed #102541