Wouldn't be useful to add an "is_new" attribute to the Session instances? We would be able to determine whether the session has been created or not without doing an extra query calling the __contains__ method of the store. I am writing this, after reading the session.py code quickly, I hope not to be wrong. I will code a patch as soon as possible if you think that this is a good change.
Thanks for your great job, Tyrion. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
