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 sgala
Recipients BreamoreBoy, djc, pje, sgala
Date 2014-10-02.21:36:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412285770.97.0.353459942206.issue8138@psf.upfronthosting.co.za>
In-reply-to
Content
Something like this should do it:

$ diff -u /usr/lib/python2.7/wsgiref/simple_server.py{~,}
--- /usr/lib/python2.7/wsgiref/simple_server.py~	2014-10-02 23:32:47.718382895 +0200
+++ /usr/lib/python2.7/wsgiref/simple_server.py	2014-10-02 14:36:10.662220865 +0200
@@ -118,7 +118,8 @@
             return
 
         handler = ServerHandler(
-            self.rfile, self.wfile, self.get_stderr(), self.get_environ()
+            self.rfile, self.wfile, self.get_stderr(), self.get_environ(),
+            multithread = False
         )
         handler.request_handler = self      # backpointer for logging
         handler.run(self.server.get_app())
History
Date User Action Args
2014-10-02 21:36:11sgalasetrecipients: + sgala, pje, djc, BreamoreBoy
2014-10-02 21:36:10sgalasetmessageid: <1412285770.97.0.353459942206.issue8138@psf.upfronthosting.co.za>
2014-10-02 21:36:10sgalalinkissue8138 messages
2014-10-02 21:36:10sgalacreate