def enable_insecure_serializers(choices=[u'pickle', u'yaml', u'msgpack']):
 for choice in choices:
  try:
   registry.enable(choice)
  except KeyError:
   pass

def enable_insecure_serializers ( choices = [ u'pickle' , u'yaml' , u'msgpack' ] ) : for choice in choices : try : registry . enable ( choice ) except KeyError : pass
enable serializers that are considered to be unsafe .