Automatically deleting session when changing between python versions