[ https://issues.apache.org/jira/browse/THRIFT-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070166#comment-15070166 ]
ASF GitHub Bot commented on THRIFT-3500: ---------------------------------------- Github user johnlockwood-wf commented on the pull request: https://github.com/apache/thrift/pull/756#issuecomment-166986327 I don't know, is there any documentation on what that option does? I'll just try it. > 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)