Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: Infinitely nested containers Date: Fri, 21 Nov 2014 09:00:15 +0200 Organization: A noiseless patient Spider Lines: 17 Message-ID: <87bno16nsw.fsf@elektro.pacujo.net> References: <931d12c0-12b3-4278-a9b9-1e2c32f138b3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="1599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pYgpLoBaevdEIOot7lR6W" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:y5yZLN8UfiFr5ypaERn2WzPkYog= sha1:yi3YCAyEsQW0Zkz/aWIlMmOxz08= Xref: csiph.com comp.lang.python:81173 Gill Shen : > How is this [nesting] behavior implemented under the hood? Pointers. > And why is this allowed at all? There's no reason not to. > Is it just a curiosity or can you do something useful with it? It absolutely does arise every here and there. It's so natural you don't even pay attention to it. Marko