Message76946
| Author |
gumpy |
| Recipients |
gumpy, schmichael |
| Date |
2008年12月04日.23:51:43 |
| SpamBayes Score |
0.00072100724 |
| Marked as misclassified |
No |
| Message-id |
<1228434704.52.0.536811595593.issue4537@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|