]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Jun 2020 13:02:33 +0000 (06:02 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 13:02:33 +0000 (06:02 -0700)
commit5b8787ef191864cd2313015959bcc3e10711aaff
tree79c2e3946a22fd66e4679632befa707a4ee4f998
parent139f1bafcf0bf48f8f55464523a4c5e50ddb50fd
bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382)

Would be nice to backport to python 3.7+. I don't think it's worth the hassle to backport this all the way down to 3.10. But I'll let the maintainers decide.

This is hard to test because the test setup already includes this [environment variable](https://github.com/python/cpython/blob/master/Lib/test/pythoninfo.pyGH-L292)

Let me know if something doesn't match the PR guidelines. This is my first PR in the python source code.
(cherry picked from commit c822efeda9a0afe87cf3429724732fc8e19a01fb)

Co-authored-by: Jeremy Attali <jeremy.attali@gmail.com>
Lib/webbrowser.py
Misc/NEWS.d/next/Library/2020-05-27-21-27-01.bpo-40767.L5MnVV.rst [new file with mode: 0644]