[ 
https://issues.apache.org/jira/browse/THRIFT-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805068#comment-13805068
 ] 

wgwang commented on THRIFT-1857:
--------------------------------

I forked the repository  https://github.com/wgwang/thrift. And add support for 
python3. I used it in python 3.3.2 in my projects.  Till now, it support two 
options:

1.  -gen py:python3  -- for generally python3 code generator.
2.  -gen py:python3,tornado -- for generating codes support tornado with 
python3.


The following is my changes:

1. Using the patch of issue THRIFT-2096 for generator, and fixing some bugs. 
2. Adding new  py3 lib (https://github.com/wgwang/thrift/tree/master/lib/py3), 
and using 2to3 to get basic codes from origin py lib.
3. In transport layer, change StringIO to BytesIO

> Python 3.X Support
> ------------------
>
>                 Key: THRIFT-1857
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1857
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Python - Compiler
>    Affects Versions: 0.9
>            Reporter: Avi Saranga
>
> add support for python 3.x 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to