[bind10-dev] ccsession api

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Mon Sep 27 09:33:42 UTC 2010


At Sun, 26 Sep 2010 17:26:18 +0200,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:

> I found an incompatibility between real code and tests. Is there a documentation
> to know what is correct regarding the cc API? The header in code is:
> 
>   def group_recvmsg(self, nonblock = True, seq = None):
> 
> But in the fake session, it is:
> 
>   def group_recvmsg(self, blocking, seq = None):

[snip]

> Does anybody know, what is the correct parameter/behaviour?

I suspect only Jelte can provide an authentic answer.  But my gut
feeling is that "blocking" in the fake session is just an error
because it originally didn't use that parameter at all:
http://bind10.isc.org/browser/trunk/src/lib/python/isc/config/unittests/unittest_fakesession.py?rev=1120

So, if I were you, I'd change the fake session code and tests that
depend on the incorrect semantics.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind10-dev mailing list