def set_datatypes_registry(d_registry):
 global _datatypes_registry
 _datatypes_registry = d_registry

def set_datatypes_registry ( d_registry ) : global _datatypes_registry _datatypes_registry = d_registry
set up datatypes_registry .