Open
Description
_PortData implements getattr to support accessing .vars['foo'] using the attribute ".foo". This caused me confusion since m.port.foo returned a simple var, but m.port.foo = 42 failed.
Should we have design discussion here about the symmetry and either implement setattr or not implement getattr (or somehow return a more helpful error when we try m.port.foo = 42)?
@gseastream (Thoughts?)