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

Code generated by py:utf8strings does not work for Python3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Python - Compiler
    • 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

            nsuke Nobuaki Sukegawa
            nsuke Nobuaki Sukegawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: