Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed5.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.048 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'test,': 0.04; 'rebuild': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'roy': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.22; 'pm,': 0.29; 'header :User-Agent:1': 0.33; 'header:X-Complaints-To:1': 0.33; 'to:addr :python-list': 0.34; 'it.': 0.34; 'sometimes,': 0.34; 'test.': 0.34; 'test': 0.35; 'received:au': 0.36; 'subject:with': 0.36; 'revert': 0.37; 'but': 0.37; 'could': 0.37; 'doing': 0.38; 'somewhat': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.40; 'might': 0.40; 'hours': 0.60; 'more': 0.61; 'life': 0.64; '100': 0.70; 'records': 0.74; 'million': 0.76; 'serious': 0.78; 'seriously,': 0.91; 'received:110': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lie Ryan Subject: Re: replacing __dict__ with an OrderedDict Date: Tue, 10 Jan 2012 23:22:16 +1100 References: <11jrt8-l32.ln1@satorlaser.homedns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 110-175-240-90.static.tpgi.com.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1326198152 news.xs4all.nl 6990 [2001:888:2000:d::a6]:43372 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:18751 On 01/10/2012 12:05 PM, Roy Smith wrote: > Somewhat more seriously, let's say you wanted to do test queries against > a database with 100 million records in it. You could rebuild the > database from scratch for each test, but doing so might take hours per > test. Sometimes, real life is just*so* inconvenient. All serious database has rollback feature when they're available to quickly revert database state in the setUp/cleanUp phase.