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

Protocols in Python 2 do not treat Strings as unicode.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.3
    • None
    • Python - Library
    • None

    Description

      Service methods which take a string type param, should expect a unicode object in Python 2, but instead expect str.
      Service methods which return string type objects should return a unicode object in Python 2, but instead return str.
      When making service calls with Python 2, passing in a unicode object with non-ascii chars will raise an exception.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              john.lockwood@workiva.com John Lockwood
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: