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 | schmir |
|---|---|
| Recipients | gvanrossum, schmir |
| Date | 2008年03月26日.21:25:10 |
| SpamBayes Score | 0.1788554 |
| Marked as misclassified | No |
| Message-id | <1206566712.47.0.22579169592.issue1503@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The current buildbot has errors similar to this one (I assume):
Exception happened during processing of request from ('127.0.0.1', 53126)
Traceback (most recent call last):
File "/Users/ralf/trunk/Lib/SocketServer.py", line 281, in
_handle_request_noblock
self.process_request(request, client_address)
File "/Users/ralf/trunk/Lib/SocketServer.py", line 307, in process_request
self.finish_request(request, client_address)
File "/Users/ralf/trunk/Lib/SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/Users/ralf/trunk/Lib/SocketServer.py", line 615, in __init__
self.handle()
File "/Users/ralf/trunk/Lib/BaseHTTPServer.py", line 318, in handle
self.handle_one_request()
File "/Users/ralf/trunk/Lib/BaseHTTPServer.py", line 301, in
handle_one_request
self.raw_requestline = self.rfile.readline()
File "/Users/ralf/trunk/Lib/socket.py", line 369, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 35] Resource temporarily unavailable
----------------------------------------
The problem is that the test calls
serv.socket.settimeout(3)
in the http_server function. This implicitly sets the server socket to
nonblocking state.
The accept call then returns a socket object, which
- is blocking on OS X 10.4 ppc
- is nonblocking on linux
I can easily reproduce that on my mac mini g4 with python 2.6. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月26日 21:25:12 | schmir | set | spambayes_score: 0.178855 -> 0.1788554 recipients: + schmir, gvanrossum |
| 2008年03月26日 21:25:12 | schmir | set | spambayes_score: 0.178855 -> 0.178855 messageid: <1206566712.47.0.22579169592.issue1503@psf.upfronthosting.co.za> |
| 2008年03月26日 21:25:11 | schmir | link | issue1503 messages |
| 2008年03月26日 21:25:10 | schmir | create | |