This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Michael.Felt, Trundle, berker.peksag, daniel.urban, eric.araujo, eric.snow, ezio.melotti, meador.inge, ncoghlan, python-dev, terry.reedy, vinay.sajip, vstinner, yselivanov
Date 2020-02-29.22:35:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583015739.29.0.583147277621.issue12915@roundup.psfhosted.org>
In-reply-to
Content
> File "/home/buildbot/buildarea/3.x.aixtools-aix-power6/build/Lib/test/test_pkgutil.py", line 249, in test_name_resolution
>    os.makedirs(d, exist_ok=True)
(...)
> UnicodeEncodeError: 'latin-1' codec can't encode characters in position 17-19: ordinal not in range(256)

The test should be modified to skip the current uw value in the loop ("continue") if the filesystem encoding cannot encode the Unicode string (catch UnicodeEncodeError on the makedirs() call).
History
Date User Action Args
2020-02-29 22:35:39vstinnersetrecipients: + vstinner, terry.reedy, vinay.sajip, ncoghlan, ezio.melotti, eric.araujo, Trundle, meador.inge, daniel.urban, python-dev, eric.snow, berker.peksag, yselivanov, Michael.Felt
2020-02-29 22:35:39vstinnersetmessageid: <1583015739.29.0.583147277621.issue12915@roundup.psfhosted.org>
2020-02-29 22:35:39vstinnerlinkissue12915 messages
2020-02-29 22:35:39vstinnercreate