Open simonbyrne opened 11 months ago
Should we just turn the functions into aliases of the constructors?
In #1104, I changed it so that Dataspace
is a basic constructor, but you use dataspace(obj)
to get the Dataspace
of an object. I think that distinction is helpful, as it can avoid some ambiguities (e.g. getting the dataspace of a tuple)
It's a minor thing, but for
Dataspace
s andDatatype
s, it would be nice if we could use the constructors directly instead of going through functions. e.g.Dataspace((4,4))
instead ofdataspace((4,4))
.