Senthil Kumaran added the comment:

sys.platform is darwin since OS X 10.5. I am not sure when it's value was 
'mac', So effectively the host was localhost on mac systems.

Directly setting the host value to localhost on all platforms may be right 
thing to do. Here is a patch with tests.

----------
assignee:  -> orsenthil
Added file: http://bugs.python.org/file36631/issue22421.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22421>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to