[Bug 55668] use the self-contact to handle Aliasing
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 5 17:27:13 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=55668
--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
Created attachment 68129
--> https://bugs.freedesktop.org/attachment.cgi?id=68129&action=edit
enable_fakecm_account: copy parameters and alter the copy
Mutable defaults for arguments are dangerous. If we call
enable_fakecm_account twice with default arguments, when we alter
expect_before_connect/expect_after_connect, we are actually altering
the default! Python doesn't construct a new empty list for us every
time. The C equivalent would be a static GPtrArray * or something.
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list