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

Remove non-module level import statements from qpid.messaging

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.32
    • None
    • Python Client
    • 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

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

            Dates

              Created:
              Updated: