[mod_python] Is right to ignore errors while pickling session data?

Nicolas Lehuen nicolas.lehuen at gmail.com
Sun Jul 31 03:40:19 EDT 2005

Hi dharana,

If you're using 3.2.0-dev and FileSession, then you should see that the 
pickling / unpickling exceptions are logged into the error log. DbmSession 
does not catch the exception so it should be raised up to the user. That's 
something we should fix, so that every session class behaves the same way.

What version of mod_python and what session class are you using ?


2005/7/30, dharana <dharana at dharana.net>:
> I've learnt after a few minutes of debugging that modpython is silently
> generating a new session if I try to store a dynamically generated class
> (new.classobj).
> I checked into python cli and I saw pickle can't dump this kind of classes 
> but
> it raises an exception which could have come handy.
> Any reasons why they aren't raised in mod_python?
> --
> dharana
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050731/63accf77/attachment.html

More information about the Mod_python mailing list