Re: [YANG] 7.1.5 import statement
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 09 January 2008 17:22 UTC
Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
by megatron.ietf.org with esmtp (Exim 4.43)
id 1JCedB-00087y-P9; Wed, 09 Jan 2008 12:22:21 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JCed9-00087b-I4
for yang-confirm+ok@megatron.ietf.org; Wed, 09 Jan 2008 12:22:19 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JCed9-00087S-7o
for yang@ietf.org; Wed, 09 Jan 2008 12:22:19 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23])
by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JCed8-0006SR-RR
for yang@ietf.org; Wed, 09 Jan 2008 12:22:19 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32])
by hermes.jacobs-university.de (Postfix) with ESMTP id 5D74C8A27F;
Wed, 9 Jan 2008 18:22:18 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23])
by localhost (demetrius.jacobs-university.de [212.201.44.32])
(amavisd-new, port 10024)
with ESMTP id 17812-06-3; Wed, 9 Jan 2008 18:22:13 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133])
by hermes.jacobs-university.de (Postfix) with ESMTP id D12818A267;
Wed, 9 Jan 2008 18:22:02 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501)
id 7EE0745FC55; Wed, 9 Jan 2008 18:22:01 +0100 (CET)
Date: Wed, 9 Jan 2008 18:22:01 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <ietf@andybierman.com>
Subject: Re: [YANG] 7.1.5 import statement
Message-ID: <20080109172201.GA5298@elstar.local>
Mail-Followup-To: Andy Bierman <ietf@andybierman.com>,
yang <yang@ietf.org>
References: <4784F78B.5040000@andybierman.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4784F78B.5040000@andybierman.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7655788c23eb79e336f5f8ba8bce7906
Cc: yang <yang@ietf.org>
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>,
<mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>,
<mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org
On Wed, Jan 09, 2008 at 08:34:19AM -0800, Andy Bierman wrote: > This section does not say anything about whether it is an > error to import a non-existent module, if it is not used. > The pyang program reports this as a fatal error. > > This gets into implementation details a little. > A well-formed import that never gets used should be a warning. > Consider implementations that do not actually find and compile > the module for an import clause until the first time the prefix is used. I expect a compiler to complain if an import can not be found and I expect a compiler to generate a warning if there is an import that is not used. In general, we don't talk much about warnings so we might choose to leave the generation of a warning for unused imports also an implementation detail. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/> _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] 7.1.5 import statement Andy Bierman
- Re: [YANG] 7.1.5 import statement Juergen Schoenwaelder
- Re: [YANG] 7.1.5 import statement Andy Bierman
- Re: [YANG] 7.1.5 import statement Martin Bjorklund
- Re: [YANG] 7.1.5 import statement Juergen Schoenwaelder