Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5602E10B2C for ; Thu, 12 Dec 2013 17:32:18 +0000 (UTC) Received: (qmail 37979 invoked by uid 500); 12 Dec 2013 17:32:12 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 37732 invoked by uid 500); 12 Dec 2013 17:32:09 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 37635 invoked by uid 99); 12 Dec 2013 17:32:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2013 17:32:07 +0000 Date: Thu, 12 Dec 2013 17:32:07 +0000 (UTC) From: "Doug Cutting (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1382) Support for python3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846478#comment-13846478 ] Doug Cutting commented on AVRO-1382: ------------------------------------ One more thing to update relevant to releases are the publishing instructions for PyPi. These are in: https://cwiki.apache.org/confluence/display/AVRO/How+To+Release#HowToRelease-Publishing We need to add instructions here for publishing the Python 3 release artifacts. > 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 (v6.1.4#6159)