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/11 10:20:39 UTC

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

     [ https://issues.apache.org/jira/browse/THRIFT-3526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aki Sukegawa resolved THRIFT-3526.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.4

committed

> 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
>          Components: Python - Compiler
>            Reporter: Aki Sukegawa
>            Assignee: Aki Sukegawa
>             Fix For: 0.9.4
>
>
> 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)