dogtail-devel [Bug 346071] New: Node.__setattr_ should raise ReadOnlyError for synthesized attributes



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=346071
 dogtail | Framework | Ver: CVS HEAD

           Summary: Node.__setattr_ should raise ReadOnlyError for
                    synthesized attributes
           Product: dogtail
           Version: CVS HEAD
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Framework
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: dmalcolm redhat com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


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


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact for the bug.
You are watching the assignee for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]