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

Code generated by py:utf8strings does not work for Python3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Python - Compiler
    • Labels:
      None

      Description

      We are adding decode/encode('utf-8') unconditionally, so the code is incompatible with Python 3.
      The patch fixes this by generating simple if/else.

        Attachments

          Activity

            People

            • Assignee:
              nsuke Aki Sukegawa
              Reporter:
              nsuke Aki Sukegawa
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: