[Distutils] PEP 517 again
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Aug 25 21:00:11 EDT 2017
xoviat wrote:
> I agree with Nick that exceptions are the way to do things in Python
I don't agree that exceptions are the way to do "things"
in general. They're the way to so *some* things. The question
is whether the thing we're talking about is one of those
things.
> The reasoning behind this
> is that Python has in general adopted this approach (Nick is right that
> they would have used NotImplementedError for binary operations except
> for performance issues)
But only because NotImplemented is an out-of-band condition
for operations in general. We're not talking about a general
operation here, but a very specific one that only has a couple
of possible results.
--
Greg
More information about the Distutils-SIG
mailing list