R. David Murray added the comment:

Note that socket.getfqdn is a wrapper around a couple of socket calls that are 
just wrappers of OS level socket calls.  If you take a look at socket.py you'll 
see the definition.  As Martin said earlier, if you (or anyone else) can figure 
out what hostname does differently and suggest how to patch our getfqdn method 
to behave similarly, I'm sure the patch will be welcome.

Unfortunately there won't be any good way to write a test for this.

----------
nosy: +r.david.murray
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2

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

Reply via email to