Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!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.121 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.78; '*S*': 0.02; 'badly': 0.09; 'cc:addr :python-list': 0.11; 'subject:Help': 0.11; 'finney': 0.16; 'iteration': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'header:User-Agent:1': 0.23; 'sorry,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'continues': 0.31; 'sep': 0.31; 'writes:': 0.31; 'another': 0.32; 'maybe': 0.34; 'point.': 0.35; 'but': 0.35; 'there': 0.35; 'sequence': 0.36; 'thanks': 0.36; 'ben': 0.38; 'form,': 0.38; 'new': 0.61; 'from:charset:utf-8': 0.61; 'content- disposition:inline': 0.62; 'skip:\xe2 10': 0.65; '8bit%:43': 0.74; 'received:86': 0.91; 'received:hu': 0.93; '2013': 0.98 X-Spam-Flag: NO X-Spam-Score: -1.909 X-Spam-Level: X-Spam-Status: No, score=-1.909 tagged_above=-20 required=4 tests=[ALL_TRUSTED=-1, AWL=0.089, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9] autolearn=no Date: Tue, 17 Sep 2013 12:05:41 +0200 From: Ervin =?utf-8?Q?Heged=C3=BCs?= To: Ben Finney Subject: Re: MySQLdb Help References: <7w1u4nzyrh.fsf@benfinney.id.au> <20130917084657.GB4565@arxnet.hu> <7wvc1zyf85.fsf@benfinney.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7wvc1zyf85.fsf@benfinney.id.au> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: python-list@python.org 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379412256 news.xs4all.nl 15994 [2001:888:2000:d::a6]:43847 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54274 Hello, On Tue, Sep 17, 2013 at 07:22:50PM +1000, Ben Finney wrote: > Ervin Hegedüs writes: > > > Hello, > > > > On Tue, Sep 17, 2013 at 05:35:30PM +1000, Ben Finney wrote: > > > for row in cur.fetchall(): > > > > and what if in body of iteration there is another fetchall()? :) > > Yes, what if? Each call to ‘fetchall’ returns a sequence of rows. I > don't see your point. yep', sorry, I'm confused. I just remember - maybe badly - once I used this form, and the 'row' continues the new sequence... But now I tried, and I see this presumtion is wrong. Sorry for disturbing, and thanks :) a.