Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7071

Remove non-module level import statements from qpid.messaging

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.32
    • Fix Version/s: None
    • Component/s: Python Client
    • Labels:
      None

      Description

      There are several places in qpid.messaging where imports are done at runtime instead of importtime. A quick audit showed these:

      https://github.com/apache/qpid/blob/4da5242913b3bb6c2fc478bc18fe8dc13fa74833/qpid/python/qpid/messaging/driver.py#L85

      https://github.com/apache/qpid/blob/4da5242913b3bb6c2fc478bc18fe8dc13fa74833/qpid/python/qpid/messaging/endpoints.py#L204

      All imports should be grouped at the top according to PEP8.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bmbouter Brian Bouterse
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: