-
-
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
bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 #27837
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,9 +143,9 @@ for the controller classes, all defined in this module. | |
+------------------------+-----------------------------------------+-------+ | ||
| ``'windows-default'`` | :class:`WindowsDefault` | \(2) | | ||
+------------------------+-----------------------------------------+-------+ | ||
| ``'macosx'`` | :class:`MacOSX('default')` | \(3) | | ||
| ``'macosx'`` | :class:`MacOSXOSAScript('default')` | \(3) | | ||
+------------------------+-----------------------------------------+-------+ | ||
| ``'safari'`` | :class:`MacOSX('safari')` | \(3) | | ||
| ``'safari'`` | :class:`MacOSXOSAScript('safari')` | \(3) | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This section should be backported There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we can reasonably call renaming MacOSX to MacOSXOSAScript a "backport" of this PR since it is about the deprecation. I'll of course accept PRs to 3.10 and 3.9 that make this doc change. |
||
+------------------------+-----------------------------------------+-------+ | ||
| ``'google-chrome'`` | :class:`Chrome('google-chrome')` | | | ||
+------------------------+-----------------------------------------+-------+ | ||
|
@@ -174,6 +174,9 @@ Notes: | |
.. versionadded:: 3.3 | ||
Support for Chrome/Chromium has been added. | ||
|
||
.. deprecated-removed:: 3.11 3.13 | ||
:class:`MacOSX` is deprecated, use :class:`MacOSXOSAScript` instead. | ||
|
||
Here are some simple examples:: | ||
|
||
url = 'https://docs.python.org/' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
:class:`webbrowser.MacOSX` is deprecated and will be removed in Python 3.13. | ||
It is untested and undocumented and also not used by webbrowser itself. | ||
Patch by Dong-hee Na. |
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 section should be backported