You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aki Sukegawa (JIRA)" <ji...@apache.org> on 2016/01/06 12:17:39 UTC

[jira] [Created] (THRIFT-3526) Code generated by py:utf8strings does not work for Python3

Aki Sukegawa created THRIFT-3526:
------------------------------------

             Summary: Code generated by py:utf8strings does not work for Python3
                 Key: THRIFT-3526
                 URL: https://issues.apache.org/jira/browse/THRIFT-3526
             Project: Thrift
          Issue Type: Bug
            Reporter: Aki Sukegawa
            Assignee: Aki Sukegawa


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.




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