Re: DB API and thread safety

2006-01-20 Thread Daniel Dittmar
Robin Haswell wrote: > Hey guys > > I've been reading http://www.python.org/peps/pep-0249.html and I don't > quite get what level of thread safety I need for my DB connections. > > If I call db = FOOdb::connect() at the start of my app, and then every > thread does it's own c = db.cursor() at the

Re: DB API and thread safety

2006-01-20 Thread Matt Goodall
Robin Haswell wrote: > Hey guys > > I've been reading http://www.python.org/peps/pep-0249.html and I don't > quite get what level of thread safety I need for my DB connections. > > If I call db = FOOdb::connect() at the start of my app, and then every > thread does it's own c = db.cursor() at the

DB API and thread safety

2006-01-20 Thread Robin Haswell
Hey guys I've been reading http://www.python.org/peps/pep-0249.html and I don't quite get what level of thread safety I need for my DB connections. If I call db = FOOdb::connect() at the start of my app, and then every thread does it's own c = db.cursor() at the top, what level of thread safety d