Made a start with more docstrings. But I got interrupted by the
following item: Picklers are not re-entrant! The only place where the shared global pickler was used was in the error handling in store(), to test whether the caught exception can be pickled (else it would fail when sending the response). Change the flow control to create a new pickler locally, only when an exception is caught. (When no exception is caught, we know newserial is a string so there's no need to test its picklability.)
Showing
Please register or sign in to comment