Kaydet (Commit) 2b2b44dc authored tarafından Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

#Issue2835: Correct an infinite recursion in webbrowser.open(), when KDE Konqueror is tried.

üst 07404592
......@@ -347,7 +347,8 @@ class Konqueror(BaseBrowser):
else:
action = "openURL"
devnull = open(os.devnull, "r+")
import io
devnull = io.open(os.devnull, "r+")
# if possible, put browser in separate process group, so
# keyboard interrupts don't affect browser as well as Python
setsid = getattr(os, 'setsid', None)
......
......@@ -25,6 +25,8 @@ Extension Modules
Library
-------
- Issue 2865: webbrowser.open() works again in a KDE environment.
- The multifile module has been removed.
- The SocketServer module has been renamed to socketserver.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment