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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.9.3
    • Fix Version/s: None
    • Component/s: Python - Compiler
    • Labels:
      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

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

              Dates

              • Created:
                Updated: