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 Michael.Felt
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-03-01.07:12:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <905689BF-D1C9-4199-A9BC-9234B62EB765@felt.demon.nl>
In-reply-to <1583015739.29.0.583147277621.issue12915@roundup.psfhosted.org>
Content
I am very busy with normal work this week. However I’ll attempt to add a pr with your (Victor”s)  suggestion. 

Sent from my iPhone

> On 29 Feb 2020, at 23:36, STINNER Victor <report@bugs.python.org> wrote:
> 
> 
> STINNER Victor <vstinner@python.org> added the comment:
> 
>> 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).
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue12915>
> _______________________________________
>
History
Date User Action Args
2020-03-01 07:12:09Michael.Feltsetrecipients: + Michael.Felt, terry.reedy, vinay.sajip, ncoghlan, vstinner, ezio.melotti, eric.araujo, Trundle, meador.inge, daniel.urban, python-dev, eric.snow, berker.peksag, yselivanov
2020-03-01 07:12:09Michael.Feltlinkissue12915 messages
2020-03-01 07:12:09Michael.Feltcreate