• Guido van Rossum's avatar
    Made a start with more docstrings. But I got interrupted by the · c64367d6
    Guido van Rossum authored
    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.)
    c64367d6
StorageServer.py 22.4 KB