A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2010-September/103702.html below:

[Python-Dev] 3.x as the official release

[Python-Dev] 3.x as the official releaseDirkjan Ochtman dirkjan at ochtman.nl
Wed Sep 15 23:50:58 CEST 2010
On Wed, Sep 15, 2010 at 21:18, P.J. Eby <pje at telecommunity.com> wrote:
> If I were to offer a suggestion to a PEP author or dictator wanting to get
> something out ASAP, it would probably be to create a compromise between the
> "flat" model (my personal favorite) and the mod_wsgi model, as an addendum
> to PEP 333.  Specifically:
>
> * leave start_response/write in play (ala mod_wsgi)

The alternative is returning a three-tuple status, headers,
content-iterable, right?

I would definitely prefer just returning a three-tuple instead of the
crappy start_response callback that returns a write callable. It makes
applications easier to write, and the unified model should also make
server implemation easier. It also combines nicely with yield from in
some cases.

Cheers,

Dirkjan
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4