Ross Lagerwall <rosslagerwall at gmail.com> added the comment: Here is a simplified version. ---------- Added file: http://bugs.python.org/file20904/sethostname_v2.patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue10866> _______________________________________