-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-102871: Remove obsolete browsers from webbrowser #102872
Conversation
Do any of these removals need deprecation? |
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.
This is literally the first time I hear about most of them.
Even https://browsersl.ist/ and https://caniuse.com/ do not list them anywhere.
I don't think that using Python3.12 and Netscape at the same time is even possible in this reality :)
Misc/NEWS.d/next/Library/2023-03-21-15-17-07.gh-issue-102871.U9mchn.rst
Outdated
Show resolved
Hide resolved
I propose to merge this for 3.12 with a note in what’s new and module docs, no deprecation warning, and no backports. |
The test failure is a patchcheck whitespace failure in webbrowser.py. James, please run patchcheck in your local repository with the branch checked out. Either |
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.
Name the removed browsers in the news note, and in a versionchanged note in the module docs.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I have made the requested changes; please review again. |
Thanks for making the requested changes! @merwok: please review the changes made to this pull request. |
I don’t get the note about Firefox older than version 35, can you explain? |
Sure! 'Netscape' class was used as an alias for Firefox until 2015. The current Firefox handling was added to webbrowser in 2015 because support for the -raise, -remote and other arguments used by the 'Netscape' class were dropped from Firefox v36+. The discussion is here: https://bugs.python.org/issue23262 There was discussion to drop the old 'Netscape' class in that issue, but it was decided to keep for backwards compatibility for old browsers which may have still had a user base then. Since it's been another 7 years, I suggest that's no longer true and the class is not required in future versions of Python. |
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.
It may be worth to add also a What's New entry (in the "Removed" section).
This issue broke the Konqueror class which still uses the _remote() method, removed by this PR:
By the way, webbrowser.Konqueror defines twice its |
#102871