Ken Giusti created QPID-4732:
--------------------------------

             Summary: Python client qpid.connection object's string conversion 
fails with IPv6 addresses
                 Key: QPID-4732
                 URL: https://issues.apache.org/jira/browse/QPID-4732
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.22
            Reporter: Ken Giusti
            Priority: Minor
             Fix For: Future


Bug found by Bill Freeman.

The __str__ method for the qpid.connection object assumes an IPv4 address.  If 
an IPv6 address is returned, it will fail.  Example:

For IPv6 getsockname() returns:

    ('::1', 49845, 0, 0)

but the conversion uses this format:

return "%s:%s" % self.sock.getsockname()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to