[Distutils] Fwd: Re: PEP 517 again

xoviat xoviat at gmail.com
Thu Aug 24 10:05:47 EDT 2017


WRT the return value, I don't really care. But I am strongly in favor of
removing the build_dir option as I think that the entire premise is wrong.
During development, you want to use an editable install, which does modify
the source tree. And if you're just installing, then you don't care about
cache. And there is also nothing preventing pip from caching the temporary
directory, which may contain build artifacts.

On Aug 24, 2017 8:41 AM, "xoviat" <xoviat at gmail.com> wrote:

> ---------- Forwarded message ----------
> From: "xoviat" <xoviat at gmail.com>
> Date: Aug 24, 2017 8:39 AM
> Subject: Re: [Distutils] PEP 517 again
> To: "Thomas Kluyver" <thomas at kluyver.me.uk>
> Cc:
>
> That's actually the general argument against exceptions and why golang
> doesn't have them. I have not seen notimplemented used in the wild ever
> though.
>
> Also, regarding the build_dir argument, it won't be used in pip. The pip
> devs may have said that but it's too much work to support now and most of
> them seem to have a shortage of time. Pip will be copying to a temporary
> directory for a long time.
>
> On Aug 24, 2017 8:28 AM, "Thomas Kluyver" <thomas at kluyver.me.uk> wrote:
>
>> On Thu, Aug 24, 2017, at 02:21 PM, xoviat wrote:
>>
>> I mean is this golang or Python? In Python, you raise notimplementederror.
>>
>>
>> But there's a NotImplemented singleton in Python as well. The argument
>> for using a return value is that the hook code has to deliberately return
>> that, whereas a NotImplementedError could bubble up from some internal
>> call, in which case it should really be registered as an error.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170824/425c2e19/attachment.html>


More information about the Distutils-SIG mailing list