Message76946
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 |
|
Date |
User |
Action |
Args |
2008-12-04 23:51:44 | gumpy | set | recipients:
+ gumpy, schmichael |
2008-12-04 23:51:44 | gumpy | set | messageid: <1228434704.52.0.536811595593.issue4537@psf.upfronthosting.co.za> |
2008-12-04 23:51:43 | gumpy | link | issue4537 messages |
2008-12-04 23:51:43 | gumpy | create | |
|