Open rdaly525 opened 4 years ago
Technically this is valid default Python behavior (you can set new attributes on an object), but we can make it an error
Confirmed, this does work with normal objects (but not when you do object()
)
E.g.
>>> class A:
... pass
...
>>> a = A()
>>> a.x = 3
I would expect the following code to raise an error or warning trying to poke a bad port. When you try to peek a bad port, it does error.