Kim van der Riet created PROTON-1149:

             Summary: [Python binding] Python float values +inf and -inf do not 
work correctly as 32-bit AMQP float values on RHEL7
                 Key: PROTON-1149
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
    Affects Versions: 0.13.0
            Reporter: Kim van der Riet

When run on RHEL 7, the 32-bit floating point values +inf (0x7f800000) and -inf 
(0xff800000) cause a failure in the swig interface:

{{OverflowError: in method 'pn_data_put_float', argument 2 of type 'float'}}

Interestingly, the test values +NaN (0x7fc00000) and -NaN(0xffc00000) which are 
also a part of the same test, work ok.

This error does not occur on Fedora 22.

This message was sent by Atlassian JIRA

Reply via email to