[Bug 24428] New: Should enforce the type of properties (and other a{sv})

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 9 22:58:21 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24428

           Summary: Should enforce the type of properties (and other a{sv})
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: tp-python
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: tester at tester.ca


Since Python has dynamic typing, but dbus doesn't, we need to force the passed
stuff to be the right type. Whenever the type of the variant is specified by
the spec, there should be code to force the variant into the right type (or
produce an exception). I just spent a week discovering that python was putting
an int32 instead of a uint32 and it was confusing the UI.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list