Message70832
Hello. I also experienced test_multiprocessing hang on win2k and I
workarounded this by this adhok patch.
Index: Lib/multiprocessing/connection.py
===================================================================
--- Lib/multiprocessing/connection.py (revision 65551)
+++ Lib/multiprocessing/connection.py (working copy)
@@ -217,7 +217,12 @@
self._socket.listen(backlog)
address = self._socket.getsockname()
if type(address) is tuple:
- address = (socket.getfqdn(address[0]),) + address[1:]
+ def getfqdn(s): # ???
+ if s == '127.0.0.1':
+ return 'localhost'
+ else:
+ return socket.getfqdn(s)
+ address = (getfqdn(address[0]),) + address[1:]
self._address = address
self._family = family
self._last_accepted = None
I'm not familiar to socket, so probably this info is useless. ;-) |
|
Date |
User |
Action |
Args |
2008-08-07 14:42:04 | ocean-city | set | recipients:
+ ocean-city, roudkerk, jnoller |
2008-08-07 14:42:04 | ocean-city | set | messageid: <1218120124.02.0.0405532170513.issue3270@psf.upfronthosting.co.za> |
2008-08-07 14:42:03 | ocean-city | link | issue3270 messages |
2008-08-07 14:42:03 | ocean-city | create | |
|