Martin v. Löwis <[email protected]> added the comment: > According to the spec for gethostname(), the hostname that it returns > is null-terminated so it won't support embedded NUL bytes. Should we > still add it anyway?
Oops, I misread the spec. No, gethostname should then not be duplicated. Putting sethostname into the socket module might be worth considering, though; I find the proposed split confusing. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
