Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I indeed tested that the PyPI user registration refuses non-ascii characters in both username and password.
But the reported error is only the first of a bytes/str mess. See attached patch. - I chose to encode package metadata with utf-8 - Since I did not set credentials in some .pypirc file, the submission fails; my first tests on a sample package returned a 401 error (normal) but now I only get 200 return codes. I hope my package will not show up in PyPI... This needs more testing with a real package of a real developer. ---------- keywords: +needs review, patch Added file: http://bugs.python.org/file12052/distutils_upload.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4338> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com