Antoine Pitrou <pit...@free.fr> added the comment: New patch including a check for PyObject_GetBuffer()'s return value, the missing declaration of HAVE_SETHOSTNAME in pyconfig.h.in, and a test for giving a bytes values to the function.
---------- Added file: http://bugs.python.org/file20909/sethostname_v3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10866> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com