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.

Created on 2020-05-25 11:38 by Jeremy Attali, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 20382 merged python-dev, 2020-05-25 12:10
PR 20607 merged miss-islington, 2020-06-03 12:42
PR 20608 merged miss-islington, 2020-06-03 12:43
PR 20609 merged miss-islington, 2020-06-03 12:43
Messages (5)
msg369872 - (view) Author: Jeremy Attali (Jeremy Attali) * Date: 2020-05-25 11:38
In a pure Wayland environment (without xwayland), the DISPLAY environment variable is not present. Therefore the call to `xdg-settings get default-browser` is not made. So the webbrowser behaviour is different between X11 and Wayland environment. I'm working on a fix, should submit a GitHub PR soon. ``` ❯ export | grep DISPLAY WAYLAND_DISPLAY=wayland-0 ❯ python -c "import webbrowser; print(webbrowser.get())" <webbrowser.GenericBrowser object at 0x7f6f1b755160> ```
msg370662 - (view) Author: miss-islington (miss-islington) Date: 2020-06-03 12:42
 New changeset c822efeda9a0afe87cf3429724732fc8e19a01fb by Jeremy Attali in branch 'master': bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382) https://github.com/python/cpython/commit/c822efeda9a0afe87cf3429724732fc8e19a01fb 
msg370667 - (view) Author: miss-islington (miss-islington) Date: 2020-06-03 13:01
 New changeset 911c35d5d334b8c148202f2a7a32b511958032fc by Miss Islington (bot) in branch '3.7': bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382) https://github.com/python/cpython/commit/911c35d5d334b8c148202f2a7a32b511958032fc 
msg370668 - (view) Author: miss-islington (miss-islington) Date: 2020-06-03 13:02
 New changeset 5b8787ef191864cd2313015959bcc3e10711aaff by Miss Islington (bot) in branch '3.8': bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382) https://github.com/python/cpython/commit/5b8787ef191864cd2313015959bcc3e10711aaff 
msg370669 - (view) Author: miss-islington (miss-islington) Date: 2020-06-03 13:04
 New changeset 74a1fceeb61212a24608eab8266f64c6b22679a6 by Miss Islington (bot) in branch '3.9': bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382) https://github.com/python/cpython/commit/74a1fceeb61212a24608eab8266f64c6b22679a6 
History
Date User Action Args
2022-04-11 14:59:31adminsetgithub: 84944
2020-06-03 13:11:06orsenthilsetstatus: open -> closed

nosy: + orsenthil
versions: - Python 3.5, Python 3.6
assignee: orsenthil
resolution: fixed
stage: patch review -> resolved
2020-06-03 13:04:32miss-islingtonsetmessages: + msg370669
2020-06-03 13:02:36miss-islingtonsetmessages: + msg370668
2020-06-03 13:01:28miss-islingtonsetmessages: + msg370667
2020-06-03 12:43:11miss-islingtonsetpull_requests: + pull_request19837
2020-06-03 12:43:04miss-islingtonsetpull_requests: + pull_request19836
2020-06-03 12:42:56miss-islingtonsetpull_requests: + pull_request19835
2020-06-03 12:42:37miss-islingtonsetnosy: + miss-islington
messages: + msg370662
2020-05-25 12:10:32python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request19646
stage: patch review
2020-05-25 11:38:08Jeremy Attalicreate