Currently in the develop branch, in the main loop of the base.run method RECVQueue.poll is used like this:
if self.queue.poll() is not None:
However, I fixed this function a long time ago because it used to return some undocumented not_empty attribute of the standard python Queue class which is if I remember correctly an Exception, however, it is not something that changes depending whether or not there is something in the queue and therefore cannot be used to check if something is in the queue. I fixed this by letting poll return self.empty() which does give you information whether or not there is something in the queue and so I changed the call site to:
if not self.queue.poll():
This does the correct thing, however I agree that the name is misleading and this is why I bring this up again because somebody changed it back to the call site above without changing what poll does. Meaning, the condition is always True.
So, one of these 2 things have to change, either change the poll to have the correct name and correct behaviour or call it correctly.