Re: Clarification on string arguments in PEP 517 hooks

Paul Moore <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CACac1F9iZHLvybH87enFZZG5L8wyWMnJALkvpVtzJErAXoYNGg@mail.gmail.com>
On Tue, 28 Aug 2018 at 07:56, Nick Coghlan <[email protected]> wrote:
>
> On Mon., 20 Aug. 2018, 11:54 pm Paul Moore, <[email protected]> wrote:
>>
>> My assumption is that the intent is that *all* strings, whether
>> arguments or return values, must be Unicode.
>
> Handling bytes paths correctly cross-platform is a pain, so I think requiring frontends to always pass in Unicode makes sense.

That's what I went for (and I've submitted a change to setuptools to
fix their backend to follow that rule). I should probably also submit
a PR to the PEP to clarify the intention :-)

Paul
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/3M2AZZZKTQ7IPK2FPVQLZD4ND6HBPJIA/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.