gumpy <[EMAIL PROTECTED]> added the comment:
I'd suggest the same thing that was done on lines 351-352.
Index: Lib/webbrowser.py
===================================================================
--- Lib/webbrowser.py (revision 67538)
+++ Lib/webbrowser.py (working copy)
@@ -223,7 +223,8 @@
cmdline = [self.name] + raise_opt + args
if remote or self.background:
- inout = open(os.devnull, "r+")
+ import io
+ inout = io.open(os.devnull, "r+")
else:
# for TTY browsers, we need stdin/out
inout = None
----------
nosy: +gumpy
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4537>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com