[ https://issues.apache.org/jira/browse/PROTON-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kim van der Riet updated PROTON-1149: ------------------------------------- Description: 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. System details: Red Hat Enterprise Linux Server release 7.2 (Maipo) kernel: 3.10.0-327.el7.x86_64 Python: 2.7.5 (default, Oct 11, 2015 17:47:16) SWIG version 2.0.10 was: 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. > [Python binding] Python float values +inf and -inf do not work correctly as > 32-bit AMQP float values on RHEL7 > ------------------------------------------------------------------------------------------------------------- > > Key: PROTON-1149 > URL: https://issues.apache.org/jira/browse/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. > System details: > Red Hat Enterprise Linux Server release 7.2 (Maipo) > kernel: 3.10.0-327.el7.x86_64 > Python: 2.7.5 (default, Oct 11, 2015 17:47:16) > SWIG version 2.0.10 -- This message was sent by Atlassian JIRA (v6.3.4#6332)