diff options
author | Jeremy Attali <jeremy.attali@gmail.com> | 2020-06-03 12:42:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 12:42:33 (GMT) |
commit | c822efeda9a0afe87cf3429724732fc8e19a01fb (patch) | |
tree | 7ff5d75174b62bdfce1f853a7944974e107df04a /Misc | |
parent | fa7ab6aa0f9a4f695e5525db5a113cd21fa93787 (diff) | |
download | cpython-c822efeda9a0afe87cf3429724732fc8e19a01fb.zip cpython-c822efeda9a0afe87cf3429724732fc8e19a01fb.tar.gz cpython-c822efeda9a0afe87cf3429724732fc8e19a01fb.tar.bz2 |
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.py#L292)
Let me know if something doesn't match the PR guidelines. This is my first PR in the python source code.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-05-27-21-27-01.bpo-40767.L5MnVV.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-27-21-27-01.bpo-40767.L5MnVV.rst b/Misc/NEWS.d/next/Library/2020-05-27-21-27-01.bpo-40767.L5MnVV.rst new file mode 100644 index 0000000..4bebb31 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-05-27-21-27-01.bpo-40767.L5MnVV.rst @@ -0,0 +1,3 @@ +:mod:`webbrowser` now properly finds the default browser in pure Wayland +systems by checking the WAYLAND_DISPLAY environment variable. Patch +contributed by Jérémy Attali. |