Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 89023 invoked from network); 17 Feb 2011 21:11:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 21:11:36 -0000 Received: (qmail 71237 invoked by uid 500); 17 Feb 2011 21:11:36 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 70960 invoked by uid 500); 17 Feb 2011 21:11:35 -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 70932 invoked by uid 99); 17 Feb 2011 21:11:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 21:11:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 21:11:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 02E6C1A885E for ; Thu, 17 Feb 2011 21:11:12 +0000 (UTC) Date: Thu, 17 Feb 2011 21:11:12 +0000 (UTC) From: "Xiaolu Ye (JIRA)" To: dev@avro.apache.org Message-ID: <698249333.89.1297977072008.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <626425456.6052.1297281059871.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (AVRO-760) Python str(Protocol) bug in handling namespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996080#comment-12996080 ] Xiaolu Ye commented on AVRO-760: -------------------------------- Didn't see a response to this. Would appreciate if someone can take a look and make this part of 1.5 release as this breaks with our protocol. Unfortunately, I don't know Python enough to identify the bug and provide a fix. Thanks! > Python str(Protocol) bug in handling namespace > ---------------------------------------------- > > Key: AVRO-760 > URL: https://issues.apache.org/jira/browse/AVRO-760 > Project: Avro > Issue Type: Bug > Components: python > Affects Versions: 1.4.1 > Reporter: Xiaolu Ye > Attachments: test-python.avpr, test.avpr > > > If I have a protocol that has record with field of a type defined in a different namespace, Python Protocol can parse it fine, but the str(Protocol) output does not use full name (namespace + name) for the type when referenced in a different namespace. Please see the attachment for example. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira