python3 cleanup