avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Taton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1382) Support for python3
Date Wed, 11 Dec 2013 22:38:07 GMT

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

Christophe Taton commented on AVRO-1382:

Hey Pedro, thanks for the update, I'll look at this soon.
I also have some updates on the IPC layer that I need to push.

I don't know if we want to drop integration with ant : I believe it is necessary for whoever
runs the releases.
@cutting can you confirm?

> 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
>         Attachments: AVRO-1382.20131203-001922.diff
> 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

View raw message