<div dir="ltr"><div>That sounds like you're supporting PEP 561 as is, right? Excuse my ignorance, but where are API testing stub interfaces described or used?</div><div><br></div><div>--Guido<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 22, 2018 at 6:10 AM Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 21 June 2018 at 07:06, Guido van Rossum <<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>> wrote:<br>
> Only the last two commits are new since the last posting: support for<br>
> partial packages and a bunch of small textual tweaks I found today while<br>
> reviewing. There wasn't a lot of feedback then so I don't expect a flamewar<br>
> today, but better late than never. ;-)<br>
<br>
Something that was raised indirectly in<br>
<a href="https://github.com/pypa/warehouse/issues/4164" rel="noreferrer" target="_blank">https://github.com/pypa/warehouse/issues/4164</a> was the terminology<br>
collision between type hinting stub files, and API testing stub<br>
interfaces.<br>
<br>
I don't think that's actually a problem, since type hinting stubs will<br>
only contain interface files, and not regular source files. This means<br>
that a type hinting stub could later be expanded in scope to also<br>
become an API emulating testing stub, and the two use cases wouldn't<br>
conflict (I'm not commenting on whether or not that would actually be<br>
a good idea - I'm just noting that PEP 561 claiming the<br>
"<project>-stubs" naming convention on PyPI doesn't close out that<br>
option).<br>
<br>
Beyond that, I think the other points I raised in the Warehouse<br>
tracker issues can be considered derived requirements arising from the<br>
PEP acceptance - if anyone tries to use the window between PEP 561<br>
being accepted, and the related permissions being enforced in PyPI to<br>
squat on stubs-related project names, then PEP 541 provides a<br>
mechanism for addressing that.<br>
<br>
Cheers,<br>
Nick.<br>
<br>
-- <br>
Nick Coghlan | <a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a> | Brisbane, Australia<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)</div>