STINNER Victor added the comment: """ http://tools.ietf.org/html/rfc1178 Don't use non-alphanumeric characters in a name. """
This is a recommendation, it does not mean that it is forbidden. But on Fedora, I'm unable to set a non-ASCII hostname. Arch Linux may be different. Python should not fail with non-ASCII hostname, but I don't know which encoding should be used: ascii/surrogateescape (PEP 383)? the locale encoding + surrogateescape error handler? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18109> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com