Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3490

Default double value of 0.0 becomes 0 (an integer) in Python

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.9.3
    • None
    • Python - Compiler
    • None

    Description

      When there is a struct attribute of type double with a default value of 0.0, this value shows up as 0 in the generated Python code, and the variable becomes an integer, rather than a double.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bgedik Bu─čra Gedik
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: