Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Tried to solve Issue #15650: Print URL when webbrowser.open Fails#15701
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
QuLogic left a comment
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.
In the future, please try to give commits more descriptive messages, so that one does not need to try to figure out what#15650 means.
Uh oh!
There was an error while loading.Please reload this page.
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
manan2501 commentedNov 16, 2019
Pardon me for that(This was my first PR to such a huge project) |
QuLogic commentedNov 16, 2019
I'm having a hard time finding the return value for |
anntzer commentedNov 16, 2019
It's not documented AFAICT, you can just infer it from the source code (https://github.com/python/cpython/blob/3.8/Lib/webbrowser.py#L71). |
dstansby left a comment
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.
Thanks for the PR! 🎉
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
Currently, the URL is shown only when rcParams['webagg.open_in_browser'] is False.
I have made changes so that the URL will be printed when webbrowser.open fails.
Closes#15650.
PR Checklist