John Lockwood created THRIFT-3500:
-------------------------------------

             Summary: Protocols in Python 2 do not treat Strings as unicode.
                 Key: THRIFT-3500
                 URL: https://issues.apache.org/jira/browse/THRIFT-3500
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
    Affects Versions: 0.9.3, 1.0
            Reporter: John Lockwood


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to