Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment:
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. ;-)
----------
nosy: +ocean-city
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com