Uh oh!
There was an error while loading. Please reload this page.
Add explicit getter and setter for datas - #509
Conversation
7c4d108 to
90b37bfCompareUh oh!
There was an error while loading. Please reload this page.
* Add explicit getter and setter * Remove mistake
Well, I would maybe have argued not to merge that one.
Wouldn't adding a filter on setattr so that the setting of the value is only done when when the name of the attribute is "value" and falling back to default python behavior for other attr the expected behavior ? |
This PR adds explicit methods to get or set data values as done in C++. This is required for me in a project using RPyC.
I really think the current mechanism of false attribute 'value' being in the meantime a getter and somehow a setter (which by the way doesn't require to really use
XX.value = smthbut any attribute unknown by the data will work. This is all confusing for the user.