Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '"""': 0.07; '??,': 0.09; 'feature,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'changes': 0.15; 'adapter': 0.16; 'conforming': 0.16; 'inst': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:failed': 0.16; 'commit': 0.19; 'url:home': 0.24; 'server.': 0.24; 'pending': 0.26; 'header:X-Complaints-To:1': 0.27; 'follows': 0.31; 'void': 0.31; 'supposed': 0.32; 'interface': 0.32; 'subject:time': 0.33; 'transaction': 0.35; 'but': 0.35; 'done': 0.36; 'method': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'operating': 0.37; 'turn': 0.37; 'implement': 0.38; 'received:76': 0.38; 'initially': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'back': 0.62; 'connecting': 0.64; 'transactions': 0.91; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Updating a filename's counter value failed each time Date: Tue, 18 Jun 2013 19:56:38 -0400 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-27-103.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371599814 news.xs4all.nl 15873 [2001:888:2000:d::a6]:50709 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48673 On Tue, 18 Jun 2013 08:49:09 +0300, ????? declaimed the following: >???? 18/6/2013 4:42 ??, ?/? Dennis Lee Bieber ??????: > >committing the changes inst necessary neither is disconnecting from the >database, this are done automatically. > NOT if the database adapter follows the db-api PEP/specification. PHP and other clients may be operating in auto-commit, but any conforming Python database adapter is supposed to turn auto-commit OFF when connecting to the server. >From PEP-249: """ .commit() Commit any pending transaction to the database. Note that if the database supports an auto-commit feature, this must be initially off. An interface method may be provided to turn it back on. Database modules that do not support transactions should implement this method with void functionality. """ -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/