This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:44gumpysetrecipients: + gumpy, schmichael
2008-12-04 23:51:44gumpysetmessageid: <1228434704.52.0.536811595593.issue4537@psf.upfronthosting.co.za>
2008-12-04 23:51:43gumpylinkissue4537 messages
2008-12-04 23:51:43gumpycreate