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
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 PersistentDB instance,
then all connections w
On 12-10-2008, Christoph Zwerschke wrote:
> William Dode schrieb:
>> Maybe the python implementation by default and an option tu use the
>> C implementation (did you bench it ?). Like that most of the people will
>> have nothing to do.
>
> If I measured correctly, then with the C implementation yo
William Dode schrieb:
> Maybe the python implementation by default and an option tu use the
> C implementation (did you bench it ?). Like that most of the people will
> have nothing to do.
If I measured correctly, then with the C implementation you can get the
connection 10% faster. That's not a
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
Christoph Zwerschke schrieb:
> If there are other things to consider for DBUtils 1.0, let me know.
Same for Webware 1.0 final. It's long overdue, but I just never found
the time to make. Let me know if there is anything that needs to be
fixed for the final release. I've now planned it for this w
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
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 wo