Santiago Gala added the comment:
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())
----------
keywords: +patch
Added file: http://bugs.python.org/file36787/multithread.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8138>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com