Skip to content

Commit ad7371e

Browse files
[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 e5d45b7) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent 0a9346d commit ad7371e

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Lib/webbrowser.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -391,15 +391,6 @@ def open(self, url, new=0, autoraise=True):
391391
return (p.poll() is None)
392392

393393

394-
def open(self, url, new=0, autoraise=True):
395-
sys.audit("webbrowser.open", url)
396-
if new:
397-
ok = self._remote("LOADNEW " + url)
398-
else:
399-
ok = self._remote("LOAD " + url)
400-
return ok
401-
402-
403394
class Edge(UnixBrowser):
404395
"Launcher class for Microsoft Edge browser."
405396

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix ``webbrowser.Konqueror.open`` method.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy