summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-06-14 12:26:33 (GMT)
committerGitHub <noreply@github.com>2023-06-14 12:26:33 (GMT)
commitad7371e407fa0474a152b4a607bea127a257ff85 (patch)
treecd2d945b15fc42eb27d098ffda3cfdf97a28722b
parent0a9346d3d8b52e585a43ee6c7708e5a639fa9fed (diff)
downloadcpython-ad7371e407fa0474a152b4a607bea127a257ff85.zip
cpython-ad7371e407fa0474a152b4a607bea127a257ff85.tar.gz
cpython-ad7371e407fa0474a152b4a607bea127a257ff85.tar.bz2
[3.12] gh-105745: Fix open method of webbrowser.Konqueror (GH-105746) (#105777)
gh-105745: Fix open method of webbrowser.Konqueror (GH-105746) (cherry picked from commit e5d45b7444733861153d6e8959c34323fd361322) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-rwxr-xr-xLib/webbrowser.py9
-rw-r--r--Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst1
2 files changed, 1 insertions, 9 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index b86d131..e0170af 100755
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -391,15 +391,6 @@ class Konqueror(BaseBrowser):
return (p.poll() is None)
- def open(self, url, new=0, autoraise=True):
- sys.audit("webbrowser.open", url)
- if new:
- ok = self._remote("LOADNEW " + url)
- else:
- ok = self._remote("LOAD " + url)
- return ok
-
-
class Edge(UnixBrowser):
"Launcher class for Microsoft Edge browser."
diff --git a/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst b/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst
new file mode 100644
index 0000000..7df7c5a
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-06-14-10-27-34.gh-issue-105745.l1ttOQ.rst
@@ -0,0 +1 @@
+Fix ``webbrowser.Konqueror.open`` method.