<p dir="ltr">I'm bored with that</p>
<br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 26, 2017, 11:59 xoviat <<a href="mailto:xoviat@gmail.com">xoviat@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Is everyone on board with that?</div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 26, 2017 4:29 AM, "Paul Moore" <<a href="mailto:p.f.moore@gmail.com" target="_blank">p.f.moore@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 26 August 2017 at 03:17, Guido van Rossum <<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>> wrote:<br>
> In pretty much any other context, if you have an operation that returns an<br>
> regular value or an error value, the error value should be None. (Exceptions<br>
> include e.g. returning a non-negative int or -1 for errors, or True for<br>
> success and False for errors.)<br>
<br>
So, given that build_sdist returns the path of the newly built sdist,<br>
the correct way to signal "I didn't manage to build a sdist" would be<br>
to return None.<br>
<br>
Now that it's put this way, it seems glaringly obvious to me that this<br>
is the correct thing to do.<br>
Paul<br>
</blockquote></div></div>
_______________________________________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</blockquote></div>