You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/26 14:08:02 UTC
[jira] [Updated] (THRIFT-3500) Protocols in Python 2 do not treat
Strings as unicode.
[ https://issues.apache.org/jira/browse/THRIFT-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III updated THRIFT-3500:
--------------------------------------
Affects Version/s: (was: 1.0)
This issue was marked as affecting version 1.0 which is not possible. If you know which version this issue was discovered in, please mark it as such.
> 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
> Reporter: John Lockwood
> Priority: Major
>
> 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
(v7.6.3#76005)