[Bug 32524] Python version of text handler example

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 21 09:50:53 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=32524

--- Comment #3 from Tomeu Vizoso <tomeu.vizoso at collabora.co.uk> 2010-12-21 00:50:53 PST ---
(In reply to comment #2)
> Oh, Tomeu, I'm not really happy with this:
>    channel.ack_messages_async(messages, lambda a, b, c: 0, None)
> 
> Is there a better way to pass no callback? Shouldn't pygi always allow None as
> a GAsyncReadyCallback ?

We surely could special-case it in pygobject or even in g-i-scanner, so all
bindings benefit from it. But I wonder if in some cases API authors would like
to make sure it's not None.

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



More information about the telepathy-bugs mailing list