]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
heisenbug in aisle 3
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Feb 2008 01:24:01 +0000 (01:24 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Feb 2008 01:24:01 +0000 (01:24 +0000)
commit0b890e1ccde7da937a25107d9287d4dc4e5b7775
tree44da60bd13cb759af83048ce0f54212d892d199e
parent842934f40cba8a6d5266c0f86306c8c1f067dd0f
heisenbug in aisle 3

(when db.dispose is called in unitofwork test with sqlite, the first test that runs in memusage grows by two gc'ed objects on every iteration; then the problem vanishes.  doesnt matter what test runs in memusage.  doing a dispose() in memusage solves the problem also.  screwing wiht the mechanics of engine.dispose() only fix it when both the pool.dispose() *and* the pool.ressurect() are disabled.  its just a subtle python/pysqlite bug afaict)
test/orm/unitofwork.py