Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Bugfixing python 3.5 asyncio Date: Wed, 4 Nov 2015 17:52:30 -0500 Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de LfL/gAJTb9mijjM6ZygUUAQPx3EL4d26Jb4VruCsfKkw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'repository': 0.05; 'override': 0.07; 'merged': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:github': 0.09; 'bug': 0.10; 'python': 0.10; 'jan': 0.11; 'subject:python': 0.14; 'dmitry': 0.16; 'presume': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'sys.path': 0.16; 'url:issues': 0.16; 'wrote:': 0.16; 'fix': 0.21; '(you': 0.23; 'patch': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'distribute': 0.27; 'module.': 0.27; 'fixed': 0.31; 'included': 0.32; 'url:python': 0.33; 'so,': 0.35; 'could': 0.35; 'easiest': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'received:org': 0.37; 'anything': 0.38; 'to:addr:python.org': 0.40; 'hello,': 0.40; 'your': 0.60; 'us.': 0.62; 'making': 0.62; 'different': 0.63; 'our': 0.64; 'of:': 0.66; '3.5.1': 0.84; 'presumably': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-173-59-124-74.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98248 On 11/3/2015 8:24 PM, Dmitry Panteleev wrote: > Hello, > > There is a bug in asyncio.Queue > (https://github.com/python/asyncio/issues/268), which makes it > unusable for us. It is fixed in master now. I presume that the fix has been merged into the CPython repository (you could check). If so, it should be included when 3.5.1 is released in about a month+. > What is the easiest way to > patch the asyncio bundled with python if I have to distribute it among > 5 colleagues? It is used in our private module. The cleanest way -- in my opinion -- would be to patch your 3.5.0 installations, making them '3.5.0+'. For 5 installations, > I can think of: > 1. Copy asyncio.queues into our package so it has a different name this would be easiest, but then I would retest and presumably revise and redistribute after 3.5.1 is out > 2. Override sys.path > > Both look really strange. Is there anything else? What I said above. -- Terry Jan Reedy