Re: Session unpickle exceptions silenced

2007-04-26 Thread Russell Keith-Magee
On 4/27/07, Nicola Larosa <[EMAIL PROTECTED]> wrote: > > Ben Godfrey wrote: > > It was very hard to trace this to the Session.get_decoded method and it > > felt like a bit of a slap to find all pickle.loads exceptions being > > dropped silently. Is this really the best thing to do? Surely it would

Re: Session unpickle exceptions silenced

2007-04-26 Thread Nicola Larosa
Ben Godfrey wrote: > It was very hard to trace this to the Session.get_decoded method and it > felt like a bit of a slap to find all pickle.loads exceptions being > dropped silently. Is this really the best thing to do? Surely it would > be better to raise the exception so that the programmer can

Session unpickle exceptions silenced

2007-04-26 Thread Ben Godfrey
I just spent a day unpicking a bug that manifested as a disappearing session. It wasn't uniform so it was hard to recreate. It turned out objects that I was placing in the session were not unpickling successfully. It was very hard to trace this to the Session.get_decoded method and it fel