[Distutils] string types for paths in PEP 517

Nick Coghlan ncoghlan at gmail.com
Tue Sep 5 10:15:10 EDT 2017


On 5 September 2017 at 01:36, Nathaniel Smith <njs at pobox.com> wrote:
> On Tue, Sep 5, 2017 at 1:00 AM, Thomas Kluyver <thomas at kluyver.me.uk> wrote:
>> - We already have workarounds for the commonest case of UTF-8 paths + C
>> locale: ignore the locale and treat paths as UTF-8.
>
> Only in 3.7, I think? Or do you mean, backends should be doing this
> manually on Python 2?

The frontend controls the locale that the backend runs in, so the
frontend can set C.UTF-8 even if the frontend itself is launched in
the C locale.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Distutils-SIG mailing list