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

Christophe Taton commented on AVRO-1382:
----------------------------------------

Hi,
I'm making good progress on this. All tests but one are passing now, but I'm 
not confident that this is ready for a release.
Current work is available here: https://github.com/kryzthov/avro/tree/AVRO-1382 
(this is mostly a copy/paste of the Python2 API, with lots of refactoring, 
cleanups and documentation).
Should I keep working on my personal branch until it is ready for release, or 
would you rather it included in a release as "experimental"?
C.

> Support for python3
> -------------------
>
>                 Key: AVRO-1382
>                 URL: https://issues.apache.org/jira/browse/AVRO-1382
>             Project: Avro
>          Issue Type: Bug
>          Components: python
>    Affects Versions: 1.7.5
>            Reporter: Christophe Taton
>
> Hi,
> I'd need to use Avro from Python3, which would require essentially the 
> following changes, which I am happy to contribute:
>  - rewrite except statements according to new syntax
>  - rewrite print statements according to new syntax
>  - basestring becomes str
>  - update some imports (StringIO becomes io.StringIO, httplib becomes 
> http.client)
> This would apparently require branching the python code to maintain a version 
> for python2 and a separate version for python3.
> Any thoughts on how to approach this?
> Thanks!



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

Reply via email to