Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'raises': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.12; '2.7': 0.14; 'iterable,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'sqlite': 0.16; 'subject:sqlite3': 0.16; 'tuple': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'header:User-Agent:1': 0.23; 'subject:problem': 0.24; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'tim': 0.29; 'code': 0.31; 'easier': 0.31; 'chase': 0.31; 'subject: (': 0.35; 'subject:with': 0.35; 'but': 0.35; 'version': 0.36; 'changing': 0.37; 'list': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'received:173': 0.61; 'behavior': 0.77; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: sqlite3 docbug (was problem with sqlite3) Date: Thu, 23 Jan 2014 20:03:08 -0500 References: <52e07f45$0$3631$426a34cc@news.free.fr> <1f13ee0c-5cb5-4627-9f38-2058a8235083@googlegroups.com> <20140123063634.2ad5169e@bigbox.christie.dr> 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-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <20140123063634.2ad5169e@bigbox.christie.dr> 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390525506 news.xs4all.nl 2943 [2001:888:2000:d::a6]:40218 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64648 On 1/23/2014 7:36 AM, Tim Chase wrote: > On 2014-01-23 05:43, Terry Reedy wrote: >> A list instead of a tuple does work, but not an iterable, so >> 'sequence'. > > In the OP's case using sqlite drivers, this is true. However, I > maintain some old 2.4 code that uses a correspondingly ancient version > of mx.ODBC which requires a tuple and raises an exception on any other > iterable. So I always use a tuple out of habit, even if it would be > easier to just use some other iterable. I would check 2.7 behavior before changing the 2.7 doc. -- Terry Jan Reedy