This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: webbrowser.MacOSX is unused, untested and undocumented
Type: enhancement Stage: resolved
Components: Library (Lib), macOS Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: corona10, lukasz.langa, ned.deily, ronaldoussoren
Priority: normal Keywords: patch

Created on 2020-11-03 19:15 by ronaldoussoren, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 27837 merged corona10, 2021-08-19 14:51
PR 28144 merged corona10, 2021-09-03 16:28
PR 28145 merged corona10, 2021-09-03 16:30
Messages (7)
msg380293 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2020-11-03 19:15
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.
msg399766 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2021-08-17 16:50
Let's deprecate it from 3.11 and remove it at 3.12 :)
msg400910 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-02 10:30
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.
msg401001 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-03 16:21
New changeset bc1c49fa94b2abf70e6937373bf1e6b5378035c5 by Dong-hee Na in branch 'main':
bpo-42255: Deprecate webbrowser.MacOSX from Python 3.11 (GH-27837)
https://github.com/python/cpython/commit/bc1c49fa94b2abf70e6937373bf1e6b5378035c5
msg401008 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-03 17:22
New changeset ce83e42437b8e5a4bf4237f981a7a90401922456 by Dong-hee Na in branch '3.9':
bpo-42255: Update webbrowser doc for macOS (GH-28145)
https://github.com/python/cpython/commit/ce83e42437b8e5a4bf4237f981a7a90401922456
msg401009 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-03 17:22
New changeset 2a8956c268772fd31aeeb6ee522f123af94a2926 by Dong-hee Na in branch '3.10':
bpo-42255: Update webbrowser doc for macOS (GH-28144)
https://github.com/python/cpython/commit/2a8956c268772fd31aeeb6ee522f123af94a2926
msg401010 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-09-03 17:23
Thanks for the patches, Dong-hee Na! ✨ 🍰 ✨
History
Date User Action Args
2022-04-11 14:59:37adminsetgithub: 86421
2021-09-03 17:23:08lukasz.langasetversions: + Python 3.9, Python 3.10
2021-09-03 17:23:03lukasz.langasetstatus: open -> closed
resolution: fixed
messages: + msg401010

stage: patch review -> resolved
2021-09-03 17:22:26lukasz.langasetmessages: + msg401009
2021-09-03 17:22:08lukasz.langasetmessages: + msg401008
2021-09-03 16:30:11corona10setpull_requests: + pull_request26584
2021-09-03 16:28:10corona10setpull_requests: + pull_request26583
2021-09-03 16:21:07lukasz.langasetmessages: + msg401001
2021-09-02 10:30:07lukasz.langasetnosy: + lukasz.langa
messages: + msg400910
2021-08-19 14:51:26corona10setkeywords: + patch
stage: patch review
pull_requests: + pull_request26301
2021-08-17 16:50:35corona10setnosy: + corona10
messages: + msg399766
2021-08-17 16:50:15corona10setversions: + Python 3.11, - Python 3.10
2020-11-03 19:15:01ronaldoussorencreate