Skip to content

Commit fbefdaf

Browse files
bpo-44059: Register the SerenityOS Browser in the webbrowser module (GH-25947) (GH-25950)
(cherry picked from commit 329a47f) Co-authored-by: Linus Groh <mail@linusgroh.de>
1 parent 058f9b2 commit fbefdaf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Lib/webbrowser.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,10 @@ def register_standard_browsers():
532532
# OS X can use below Unix support (but we prefer using the OS X
533533
# specific stuff)
534534

535+
if sys.platform == "serenityos":
536+
# SerenityOS webbrowser, simply called "Browser".
537+
register("Browser", None, BackgroundBrowser("Browser"))
538+
535539
if sys.platform[:3] == "win":
536540
# First try to use the default Windows browser
537541
register("windows-default", WindowsDefault)

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ Andrea Griffini
641641
Duncan Grisby
642642
Olivier Grisel
643643
Fabian Groffen
644+
Linus Groh
644645
Eric Groo
645646
Daniel Andrade Groppe
646647
Dag Gruneau
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Register the SerenityOS Browser in the :mod:`webbrowser` module.

0 commit comments

Comments
 (0)