GNOME Bugzilla – Bug 346071
Node.__setattr_ should raise ReadOnlyError for synthesized attributes
Last modified: 2006-06-30 16:50:17 UTC
I believe that Node.__setattr_ should raise ReadOnlyError for synthesized attributes: if you set such an attribute, and then get it, you won't get the value you set. Am about to attach a patch which implements this, plus adds unit tests to cover it. All unit tests pass. Also removes the "This is my poor excuse for a unit test." code from tree.py
Created attachment 68099 [details] [review] Patch tp implement this, and test for it in unit tests
Nice; thanks, Dave.
Committed to HEAD