Python transactional memory?
September 19, 2008 – 01:51Ok, nosetests whitewashed in one of accused misactions – it didn’t actually messed up with the metadata of my django database backend. It was me, myself.
Looks like my test wrappers db_mock
and twill_mock
where not quite up to date to latest django db backend changes and forgot to save their environment cleanly and then – even restore it properly.
Now the question – is there some tool or module for a python that allows to handle global variable state in a transactional manner? A kind of lightweight STM?..
I understand that it could hardly be possible for C modules, but I’m asking just for native python variables.
Any ideas?