Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-22 Thread William Dode
On 18-10-2008, Christoph Zwerschke wrote: William Dode schrieb: Then i have to set closeable when i create it ? What i would like is to have closeable set to False, and decide *after* (for maintenance of the db) that i want a brut close. You can set closeable to True when creating the

Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-07 Thread William Dode
On 06-10-2008, Christoph Zwerschke wrote: William Dode schrieb: With python = 2.4 you use threading.local in PersistentDB, but with some server (mod_wsgi) threading.local is not kept between requests because of the C implementation. We can also imagine that somes wsgi server will clean

[Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-06 Thread William Dode
Hi, With python = 2.4 you use threading.local in PersistentDB, but with some server (mod_wsgi) threading.local is not kept between requests because of the C implementation. We can also imagine that somes wsgi server will clean threading.local. If we force to use the python implementation it

Re: [Webware-devel] [dbutils] threading.local cleaned by wsgi server

2008-10-06 Thread Christoph Zwerschke
William Dode schrieb: With python = 2.4 you use threading.local in PersistentDB, but with some server (mod_wsgi) threading.local is not kept between requests because of the C implementation. We can also imagine that somes wsgi server will clean threading.local. If we force to use the