i agree that it's a good option, seems like the perfect use-case for a
*dbm. could it go into contrib?
the test for time out in the cleanup seems off though.
    if now - pickle.loads(value[0]):
that's always gonna be true, right?

i'd guess it should be:
   if now - pickle.loads(value[0]) > timeout:

-brent

On Mon, Dec 8, 2008 at 4:03 PM, jbw <[EMAIL PROTECTED]> wrote:
>
> Seems a good idea as an option.   I looked at the old thread where the
> concern seemed to be that bsddbm was being removed
> from the core python libraries.  Seems to me, this use of it should
> not need the bsddm feature set but should work with pretty much
> any dbm, key->value db..   so maybe rewrite it to use the anydbm
> library?  Maybe then they would accept it?  Hopefully they
> will let you know if that change would make it accepted before you do
> the work though.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to