X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-CMAE-Analysis: v=2.4 cv=N5fsq0xB c=1 sm=1 tr=0 ts=6019ae71 a=+cj0cO56Fp8x7EdhTra87A==:117 a=CWmUSXuVPJ97uTXk20kp/w==:17 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=qa6Q16uM49sA:10 a=4KqntG64otxHAX-YVXoA:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: glimrick AT epilitimus DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=epilitimus.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=50HhgHY5B3quTpfHF+jVn1gRRZQ13xK3W6FbqY0MMx4=; b=KOW3AVZEvuLdpNyJeMhDDphj9y YMFfKK1yWe0KmfiscGvxjUKfGuMIyry1MvH+DnqcxyuYvqO5JTP+Nmg9iYzkX4FvZE/ME2SIegzak 1Aww74zDS+t6S9vN/NYRjQuq3qo32zkdi5TfqC9CTCgW2w0xrpnQl5DjB+69KsfjCgqgIg32U7w3W FjTAxONSpjIyRE/ZvvDCAWcFk0Z45rdcQbsGP523+cp7pKsqbel54rm1L9c1HN39X1q/kdyBbJC6O R+xb5rfG3x7R8/CvVSl778lF20v1Nk5WCgDkUXIVMLGSrYZADKIJgg2sTt0gJolfEJ08u75IleqWx 3+n/vhDg==; Subject: Re: [geda-user] recursive subsheet issue To: geda-user AT delorie DOT com References: From: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" Message-ID: <0cc19ac4-217d-0897-52db-8b6fdcbbd975@epilitimus.com> Date: Tue, 2 Feb 2021 11:56:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0121.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - delorie.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - epilitimus.com X-Get-Message-Sender-Via: a2plcpnl0121.prod.iad2.secureserver.net: authenticated_id: glimrick AT epilitimus DOT com X-Authenticated-Sender: a2plcpnl0121.prod.iad2.secureserver.net: glimrick AT epilitimus DOT com X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4xfPv9HhV6jnni9gnR2JiLE7BMQjdec+/Ufeqpi3Gf25kNg/ssNiJbyg3v3XYg5hlUgn5tFn3ICa1mNlW1Lyz+y4b238Btayy0UaM5snHmc/X43EFKdhEk ejHT5HAirJxveZuC/4mrn2wgMX7Nayr5Q1uF8efYJ+m9xUJNpR/GvU5uIK9Weo4l5k2B2koUqjHAg5L0+l9umSVAjqY8V4yVXlhXkRD9Mp+/ExX5IILUtT8O Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Roland Lutz wrote: > Or am I missing something? If not let me know and I write a fix. > > I was about to suggest this. :-) > Okay, I'll let you know when it is ready. Anything special about exception objects in python? Thinking is if recursion is detected, throw an exception which is caught at theĀ  xorn.netlist.innermain level, report the error, and terminate. Be nice if the subsheet path could be provided for diagnostic purposes. >> - keep a list of all sheets traversed so far up to the current sheet >> and check it. > > The Python "set" type may come in handy. I'll look. Why a set rather than a list? > I came across it because I am trying to figure out a way to extract > the hierarchy from the netlist. > > What exactly are you trying to do? Just one of my "it seems like a good idea" tangents. For the xspice backend, which I have finally started to get back to, I decided it would be nice in the header of the output to provide a listing of the hierarchy from which the netlist was generated in case you don't get the output you are expecting re: refdes etc. Not really a "must have" but I need something to get myself back into the groove and this is what I settled on. Glenn