How come petsc4py has the (nonstandard?) v.setAttr('name',value) and 
v.getAttr('name') instead of v.name notation? Could they be refactored to have 
"normal" attribute behavior? If not, could a v.hasAttr('name') be added? 

  Similarly, how come numpy arrays seem to have no way to set attributes on 
them? 

  PyTorch tensors seem to support the standard t.name handling of attributes.

   Thanks 

Reply via email to