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

Hudson commented on AVRO-1382:
------------------------------

SUCCESS: Integrated in AvroJava #425 (See 
[https://builds.apache.org/job/AvroJava/425/])
AVRO-1382. Add missing license header. (cutting: rev 1557229)
* /avro/trunk/share/test/schemas/echo.avdl
AVRO-1382. Ignore generated files. (cutting: rev 1557227)
* /avro/trunk/lang/py3
* /avro/trunk/lang/py3/avro
* /avro/trunk/lang/py3/avro/tests
AVRO-1382. Add support for Python3.  Contributed by Christophe Taton. (cutting: 
rev 1557225)
* /avro/trunk/CHANGES.txt
* /avro/trunk/build.sh
* /avro/trunk/lang/py3
* /avro/trunk/lang/py3/avro
* /avro/trunk/lang/py3/avro/__init__.py
* /avro/trunk/lang/py3/avro/datafile.py
* /avro/trunk/lang/py3/avro/io.py
* /avro/trunk/lang/py3/avro/ipc.py
* /avro/trunk/lang/py3/avro/protocol.py
* /avro/trunk/lang/py3/avro/schema.py
* /avro/trunk/lang/py3/avro/tests
* /avro/trunk/lang/py3/avro/tests/av_bench.py
* /avro/trunk/lang/py3/avro/tests/gen_interop_data.py
* /avro/trunk/lang/py3/avro/tests/run_tests.py
* /avro/trunk/lang/py3/avro/tests/sample_http_client.py
* /avro/trunk/lang/py3/avro/tests/sample_http_server.py
* /avro/trunk/lang/py3/avro/tests/test_datafile.py
* /avro/trunk/lang/py3/avro/tests/test_datafile_interop.py
* /avro/trunk/lang/py3/avro/tests/test_io.py
* /avro/trunk/lang/py3/avro/tests/test_ipc.py
* /avro/trunk/lang/py3/avro/tests/test_protocol.py
* /avro/trunk/lang/py3/avro/tests/test_schema.py
* /avro/trunk/lang/py3/avro/tests/test_script.py
* /avro/trunk/lang/py3/avro/tests/txsample_http_client.py
* /avro/trunk/lang/py3/avro/tests/txsample_http_server.py
* /avro/trunk/lang/py3/avro/tool.py
* /avro/trunk/lang/py3/avro/txipc.py
* /avro/trunk/lang/py3/scripts
* /avro/trunk/lang/py3/scripts/avro
* /avro/trunk/lang/py3/setup.py
* /avro/trunk/share/test/schemas/echo.avdl


> 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
>            Assignee: Christophe Taton
>             Fix For: 1.7.6
>
>         Attachments: AVRO-1382.20131203-001922.diff, 
> AVRO-1382.20140101-123233-0800.diff, AVRO-1382.20140107-231626-0800.diff, 
> AVRO-1382.20140108-165947-0800.diff, AVRO-1382.20140109-232110-0800.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
(v6.1.5#6160)

Reply via email to