On 5/26/05, Titus Brown <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I sat down and implemented simple persistent session stores for Durus,
> PostgreSQL, and shelve, as well as a simple directory/file based
> session store. My initial distribution is available here:
>
> http://issola.caltech.edu/~t/transfer/qx-sessions.tar.gz
>
I gave a quick look. A few questions/remarks.
1. In ShelveSessionStore you are opening the database at
any operation, why don't open it just in the __init__?
2. Why .lock and .unlock are left empty? Are there reasons not to
specify the default locking mechanism?
3. Exception("unimplemented") can be replaced with the built-in
NotImplemented ;)
Michele Simionato
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users