beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Fernández (JIRA) <j...@apache.org>
Subject [jira] [Commented] (BEAM-1373) Update Python SDK code to support both Python 2 and 3
Date Thu, 02 Feb 2017 06:45:51 GMT

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

Sergio Fernández commented on BEAM-1373:
----------------------------------------

Have you tried to set {{use_2to3 = True}} in the `setup()`? I don't like much that approach,
I think most of the code could be written in a portable way. But at least it could be a starting
point.

> Update Python SDK code to support both Python 2 and 3
> -----------------------------------------------------
>
>                 Key: BEAM-1373
>                 URL: https://issues.apache.org/jira/browse/BEAM-1373
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py
>            Reporter: Chamikara Jayalath
>            Assignee: Chamikara Jayalath
>
> This can be performed by following standard Py2 -> Py2/3 conversion process defined
in the following document.
> http://python-future.org/automatic_conversion.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message