You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
webbrowser.MacOSX is unused, untested and undocumented #86421
Dong-hee Na, you can't remove it in 3.12 per PEP-387:
Unless it is going through the deprecation process below, the behavior of an API must not change in an incompatible fashion between any two consecutive releases. Python's yearly release process (PEP-602) means that the deprecation period must last at least two years.
and:
Wait for the warning to appear in at least two minor Python versions of the same major version.
Activity
ronaldoussoren commentedon Nov 3, 2020
class webbrower.MacOSX is untested and undocumented. It is also not used by webbrowser itself (webbrowser.MacOSXOSAScript is used to launch browsers).
It's probably safe to just remove the class, otherwise deprecate in 3.10 for removal in 3.11.
corona10 commentedon Aug 17, 2021
Let's deprecate it from 3.11 and remove it at 3.12 :)
ambv commentedon Sep 2, 2021
Dong-hee Na, you can't remove it in 3.12 per PEP-387:
and:
ambv commentedon Sep 3, 2021
New changeset bc1c49f by Dong-hee Na in branch 'main':
bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 (GH-27837)
bc1c49f
ambv commentedon Sep 3, 2021
New changeset ce83e42 by Dong-hee Na in branch '3.9':
bpo-42255: Update webbrowser doc for macOS (GH-28145)
ce83e42
ambv commentedon Sep 3, 2021
New changeset 2a8956c by Dong-hee Na in branch '3.10':
bpo-42255: Update webbrowser doc for macOS (GH-28144)
2a8956c
ambv commentedon Sep 3, 2021
Thanks for the patches, Dong-hee Na! ✨ 🍰 ✨
hugovk commentedon May 23, 2023
Please see PR #104816 to remove
webbrowser.MacOSX.