[Distutils] PEP 517 again

xoviat xoviat at gmail.com
Fri Aug 25 21:53:06 EDT 2017

Oh, BDFL, will you settle whether we should raise an exception or return

On Aug 25, 2017 8:28 PM, "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote:

xoviat wrote:

> I mean how is opening a file different than attempting to build an sdist?

1. Opening a file is a very common operation.

2. Most file opens are expected to succeed, and if one doesn't,
the appropriate place to deal with that is almost never at the
site of the open call, but somewhere further up.

In contrast, there's probably only about one place in any
given frontend where the backend's build_sdist method gets
invoked, and it's unlikely the ability to let a not-implemented
exception bubble up from that point would be of great use.


Distutils-SIG maillist  -  Distutils-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170825/93ac3ed6/attachment.html>

More information about the Distutils-SIG mailing list