Bug 3374 - minor refactorings for the add/remove/signal code in python bindings
Summary: minor refactorings for the add/remove/signal code in python bindings
Status: RESOLVED DUPLICATE of bug 3241
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: John (J5) Palmieri
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-23 09:22 UTC by Anthony Baxter
Modified: 2006-08-01 10:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch for _dbus.py (2.66 KB, patch)
2005-05-23 09:22 UTC, Anthony Baxter
Details | Splinter Review

Description Anthony Baxter 2005-05-23 09:22:22 UTC
The following patch makes the add/remove/signal code much cleaner and more
pythonic. In addition, it no longer removes the match if there are still
receivers for the signal, and doesn't re-add it if it's already been added. I
have some more ideas on the match_rule stuff that I'll follow up on the mailing
list.

patch is against current cvs HEAD.
Comment 1 Anthony Baxter 2005-05-23 09:22:58 UTC
Created attachment 2751 [details] [review]
patch for _dbus.py
Comment 2 John (J5) Palmieri 2005-05-23 17:32:07 UTC

*** This bug has been marked as a duplicate of 3241 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.