diff options
-rw-r--r-- | Lib/webbrowser.py | 3 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py index a028df0..4772adc 100644 --- a/Lib/webbrowser.py +++ b/Lib/webbrowser.py @@ -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. |