def safetar_extractall(tar_file, path='.', members=None):
 return tar_file.extractall(path, safemembers(tar_file, path))

def safetar_extractall ( tar_file , path = '.' , members = None ) : return tar_file . extractall ( path , safemembers ( tar_file , path ) )
safe version of tar_file .