Message218833
Here is a reproducible test case:
import threading
import signal
import os
import httplib
def killer():
while 1:
os.kill(os.getpid(), signal.SIGINT)
def go():
signal.signal(signal.SIGINT, lambda x,y: None)
thread = threading.Thread(target=killer)
thread.start()
while 1:
connection = httplib.HTTPConnection("localhost:80")
connection.connect()
connection.close()
if __name__ == '__main__':
go()
Which gives:
Traceback (most recent call last):
File "./repro1.py", line 22, in <module>
go()
File "./repro1.py", line 18, in go
connection.connect()
File ".../lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File ".../lib/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: |
|
Date |
User |
Action |
Args |
2014-05-20 04:09:06 | tholzer | set | recipients:
+ tholzer, gregory.p.smith, pitrou, vstinner, flox, neologix |
2014-05-20 04:09:06 | tholzer | set | messageid: <1400558946.93.0.920568091847.issue20611@psf.upfronthosting.co.za> |
2014-05-20 04:09:06 | tholzer | link | issue20611 messages |
2014-05-20 04:09:06 | tholzer | create | |
|