]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87277: Don't look for X11 browsers on macOS in webbrowser (#24480)
authorRonald Oussoren <ronaldoussoren@mac.com>
Thu, 21 Dec 2023 13:43:38 +0000 (14:43 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2023 13:43:38 +0000 (14:43 +0100)
commitca8b1d09585c032416c5d4905f707550eecf327f
tree2a39e9a18fd852bd47c024ca4a742239554ef471
parent723f4d66982e4d2c54f8e874d6084ab7b2ff5833
gh-87277: Don't look for X11 browsers on macOS in webbrowser (#24480)

The installation of XQuartz on macOS will unconditionally
set the $DISPLAY variable. The X11 server will be launched
when a program tries to access the display.  This results
in launching the X11 server when using the webbrowser module,
even though X11 browsers won't be used in practice.
Lib/test/test_webbrowser.py
Lib/webbrowser.py
Misc/NEWS.d/next/macOS/2023-12-21-09-41-42.gh-issue-87277.IF6EZZ.rst [new file with mode: 0644]