[Python-ideas] Standardising ASGI as a PEP
andrew at aeracode.org
Sun Oct 28 00:15:27 EDT 2018
On Sat, Oct 27, 2018 at 7:16 PM Nathaniel Smith <njs at pobox.com> wrote:
> The WSGI PEP is a bit of a funny thing, since it's a PEP that doesn't
> really involve the language or stdlib. (I guess there's wsgiref, but I
> don't think it being in the stdlib actually affects much these days.)
Right. This is why I think I'm unsure quite how to approach replacing it.
> What are you hoping to accomplish by making ASGI a PEP?
Essentially to put it on the same platform as things like WSGI and DBAPI2 -
to have a directly accepted standard that forms part of the language core.
Obviously this is not required for things to function and people to develop
against it, but it wasn't required for WSGI either, so in some ways the
reason I think it should be a PEP is pretty much purely because WSGI is.
> On Sat, Oct 27, 2018 at 4:42 PM, Andrew Godwin <andrew at aeracode.org>
> > Hi everyone,
> > I'd like to breach the topic of standardising an asynchronous successor
> > WSGI - specifically, the ASGI specification I and a group of other Python
> > web developers have been refining over the past couple of years (you can
> > read more at https://asgi.readthedocs.io/en/latest/).
> > I'm unsure of the best approach to take for this, given a couple of
> > - Web SIG has been basically dead for at least two years and several
> > maintainers I know unsubscribed from it last time as things got toxic. It
> > appears to not be a good place to start this discussion, but maybe it
> can be
> > revived?
> > - The specification as I would propose it is two or three parts - an
> > overall interface for asynchronous servers to talk to applications and
> > a separate specification(s) of how to transport HTTP and WebSockets over
> > that. Would this be multiple PEPs?
> > I'd appreciate advice from you all on these questions as well as what you
> > think the best way to even approach something like "let's add a WSGI
> > successor" is.
> > My initial approach was to go away and prove something in real-world use
> > across a variety of frameworks, and we seem to have got to that point,
> > so now I would like to start making it more official.
> > I'm more than ready to take the specification we have and start prepping
> > to land into the PEP repo for further discussion, but I wanted to check
> > here first before jumping the gun (and besides, there's already plenty of
> > specs, write ups, and reference code to discuss the merits of this).
> > Andrew
> > _______________________________________________
> > Python-ideas mailing list
> > Python-ideas at python.org
> > https://mail.python.org/mailman/listinfo/python-ideas
> > Code of Conduct: http://python.org/psf/codeofconduct/
> Nathaniel J. Smith -- https://vorpus.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas