replacing __dict__ with an OrderedDict

Lie Ryan lie.1296 at gmail.com
Tue Jan 10 07:22:16 EST 2012


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.




More information about the Python-list mailing list