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 commented on 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 commented on Aug 17, 2021
Let's deprecate it from 3.11 and remove it at 3.12 :)
ambv commented on Sep 2, 2021
Dong-hee Na, you can't remove it in 3.12 per PEP-387:
and:
ambv commented on 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 commented on 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 commented on 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 commented on Sep 3, 2021
Thanks for the patches, Dong-hee Na! ✨ 🍰 ✨
hugovk commented on May 23, 2023
Please see PR #104816 to remove webbrowser.MacOSX.