Gordon Sim created PROTON-977:
---------------------------------

             Summary: handler appears to get ignored
                 Key: PROTON-977
                 URL: https://issues.apache.org/jira/browse/PROTON-977
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
    Affects Versions: 0.10
            Reporter: Gordon Sim
            Assignee: Gordon Sim
             Fix For: 0.11


If a handler defines methods such that it is evaluated to false in a boolean 
context, then tests inside the Container and/or MessagingHandler whose aim is 
to test whether a handler is set, will fail even though there is a handler.

E.g. if the handler has a __len__() method that returns 0 when 
Container.create_receiver is called, the handler will not be set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to