Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'frameworks': 0.05; 'frameworks.': 0.09; 'indicates': 0.09; 'occasionally': 0.09; 'pep': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'themselves,': 0.09; 'yet.': 0.13; 'async': 0.16; 'both,': 0.16; 'ecosystem': 0.16; 'event- driven': 0.16; 'highlighted': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'suggesting': 0.16; 'threads': 0.16; 'wrote:': 0.17; 'certainly': 0.17; 'jan': 0.18; 'appropriate': 0.20; 'bit': 0.21; 'latter': 0.22; 'recognize': 0.22; 'posted': 0.22; "i'd": 0.22; 'errors': 0.23; 'idea': 0.24; 'so.': 0.24; 'allows': 0.25; 'least': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'developers': 0.26; 'common': 0.26; 'am,': 0.27; 'first.': 0.27; 'library.': 0.27; 'propose': 0.27; 'header:X-Complaints-To:1': 0.28; 'proposing': 0.29; "i'm": 0.29; 'aside': 0.32; 'text,': 0.33; 'to:addr:python-list': 0.33; 'programming.': 0.35; 'there': 0.35; 'received:org': 0.36; 'smaller': 0.36; 'should': 0.36; 'why': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'interested.': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'details': 0.63; 'expectations': 0.71; 'introduce': 0.80; 'received:fios.verizon.net': 0.84; 'toy': 0.84; 'approach.': 0.91; 'ideas.': 0.91; 'responses': 0.93; 'successful.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Standard Asynchronous Python Date: Mon, 10 Sep 2012 12:21:11 -0400 References: <504d60ab$0$29890$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347294106 news.xs4all.nl 6965 [2001:888:2000:d::a6]:36555 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28831 On 9/10/2012 7:36 AM, Dustin J. Mitchell wrote: > The responses have certainly highlighted some errors in emphasis in my approach. > > * My idea is to propose a design PEP. (Steven, Dennis) I'm not at > *all* suggesting including uthreads in the standard library. It's a > toy implementation I used to develop my ideas. I think of this as a > much smaller idea in the same vein as the DBAPI (PEP 249): a common > set of expectations that allows portability. That has been very successful. > * I'd like to set aside the issue of threads vs. event-driven > programming. There are legitimate reasons to do both, and the healthy > ecosystem of frameworks for the latter indicates at least some people > are interested. My idea is to introduce a tiny bit of coherence > across those frameworks. I think many developers recognize that some improvment in coherence would be a good idea. I occasionally read that *someone* is working on common event loop approach, though it has not materialized yet. > I will need to take up the details of the idea with the developers of > the async frameworks themselves, and get some agreement before > actually proposing the PEP. However, among this group I'm interested > to know whether this is an appropriate use of a design PEP. I think so. > That's why I posted my old and flawed PEP text, rather than re-drafting > first. I think you should do a bit of editing now, even if not a full redraft. -- Terry Jan Reedy