You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Brian Bouterse (JIRA)" <ji...@apache.org> on 2016/02/16 19:07:18 UTC

[jira] [Created] (QPID-7074) Qpid.messaging.transport should not conditionally define classes

Brian Bouterse created QPID-7074:
------------------------------------

             Summary: Qpid.messaging.transport should not conditionally define classes
                 Key: QPID-7074
                 URL: https://issues.apache.org/jira/browse/QPID-7074
             Project: Qpid
          Issue Type: Task
          Components: Python Client
    Affects Versions: 0.32
            Reporter: Brian Bouterse


There are better patterns to use to provide behaviors based on available dependencies than conditionally defining classes on import errors. This needs some general refactoring.

https://github.com/apache/qpid/blob/4da5242913b3bb6c2fc478bc18fe8dc13fa74833/qpid/python/qpid/messaging/transports.py#L57-L231



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org