[Distutils] PEP 517 again

xoviat xoviat at gmail.com
Fri Aug 25 13:06:08 EDT 2017

Is pip going to fall back to building a wheel directly if any other error
is raised? That's what happens with setup.py install. If so, then it may be
fine if unexpected exceptions bubble up.

On Aug 25, 2017 11:57 AM, "Donald Stufft" <donald at stufft.io> wrote:

> On Aug 25, 2017, at 12:49 PM, Thomas Kluyver <thomas at kluyver.me.uk> wrote:
> Can I gently ask everyone involved to consider whether the
> notimplemented/error discussion is verging into bikeshedding (
> http://bikeshed.org/)?
> The technical arguments I have seen so far are:
> - The exception can include a message
> - The return value can't 'bubble up' from the internals of a hook like an
> exception
> I don't think the discussion of semantics is going to go anywhere: they
> are both reasonable ways for the backend to reply "sorry, Dave, I can't do
> that".
> I don’t think they are both reasonable ways any more than it’s reasonable
> to do ``raise Return(value)`` instead of ``return value``. The semantics
> here are important because using exceptions for non-exceptional, non
> erroneous cases has *always*, in my experience, lead to weirdness [1].
> [1] Like for example, StopIteration which was deemed so bad as to need to
> break backwards compatibility and break consistency with all other uses of
> exceptions just to handle the weirdness in a saner way. Unfortunately we
> can’t modify the Python interpreter to fix our weirdness that is going to
> happen.
>> Donald Stufft
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170825/71c1ff31/attachment.html>

More information about the Distutils-SIG mailing list