replacing __dict__ with an OrderedDict

Roy Smith roy at
Tue Jan 10 21:47:54 EST 2012

In article <mailman.4603.1326211045.27778.python-list at>,
 Lie Ryan <lie.1296 at> wrote:

> >> All serious database has rollback feature when they're available to
> >> quickly revert database state in the setUp/cleanUp phase.
> >
> > I guess MongoDB is not a serious database?
> I guess there are always those oddball cases, but if you choose MongoDB 
> then you already know the consequences that it couldn't be as easily 
> unit-tested. And in any case, it is generally a bad idea to unittest 
> with a database that contains 100 million items, that's for performance 
> testing. So your point is?

My point is that in the real world, what is practical and efficient and 
sound business is not always what is theoretically correct.

More information about the Python-list mailing list