• Guido van Rossum's avatar
    We saw a weird crash of a test run once in _update_cache() where · 1acac671
    Guido van Rossum authored
    self._tbuf was unexpectedly None.  The only way this can happen is
    when the storage is closed (probably by a different thread); close()
    sets _tbuf to None.  It turns out that a TransactionBuffer instance
    can safely be closed more than once, so there's no need to set _tbuf
    to None in the close() method.
    1acac671
ClientStorage.py 30.8 KB