Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; '21,': 0.07; 'python3': 0.07; 'python': 0.11; 'bug': 0.12; 'itertools': 0.16; 'segfault': 0.16; 'sender:addr:gmail.com': 0.17; 'wrote:': 0.18; 'import': 0.22; 'fixed.': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'submitting': 0.31; 'depth': 0.31; 'fault': 0.31; 'fri,': 0.33; 'no,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'nov': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'ian': 0.60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Idyk65kdyoaKpcpRi9aBqFkBbFrJfr0lX7/fB9P4yVw=; b=liLce7xw0T5GOfxmqDLTMu9dXAaQa5TwUzSuDAK+9D3X36n3Ru1ObpAmi1T8vhi9We pZTFuZXhIDRu0zWbjyxbbyVgMMggXsEXd9Gnt4PAWk0TKSJ/7JY5//iz7FeNhPeGKLA5 qlVQR71T8BHJk17PI/prKG9H5IYhprxhrMZ9ZjxLlBbujkErK1BmKAED7BBGWP/iRdwB vZM2vf9hqLbk+3zJ3tJ8/0G0NyOyiJjggf+Ut1rzzPgq2myNNhFu+QbZ5bwniSJzQWhn Nq3NubuxdruTeyo9SQCYHXcz3+4wjGAVr5mUpfdVOIeTeFXLEZqADCeNuG63BJYUd4pG JWXA== X-Received: by 10.60.145.201 with SMTP id sw9mr4205999oeb.5.1416598271875; Fri, 21 Nov 2014 11:31:11 -0800 (PST) MIME-Version: 1.0 Sender: zachary.ware@gmail.com In-Reply-To: References: <931d12c0-12b3-4278-a9b9-1e2c32f138b3@googlegroups.com> <87bno16nsw.fsf@elektro.pacujo.net> <1416591555.652129.193873581.54A97BD7@webmail.messagingengine.com> From: Zachary Ware Date: Fri, 21 Nov 2014 13:30:50 -0600 X-Google-Sender-Auth: RZuVbrHcAkx4E2maObvY_Icn6iE Subject: Re: Infinitely nested containers To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416598274 news.xs4all.nl 2920 [2001:888:2000:d::a6]:56129 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3563 X-Received-Body-CRC: 3719590474 Xref: csiph.com comp.lang.python:81239 On Fri, Nov 21, 2014 at 12:37 PM, Ian Kelly wrote: > Here's a nice crash. I thought this might similarly produce a > recursion depth error, but no, it's a seg fault! > > $ cat test.py > import itertools > > l = [] > it = itertools.chain.from_iterable(l) > l.append(it) > next(it) > $ python3 test.py > Segmentation fault (core dumped) Would you mind submitting a bug report for that? Any segfault produced by pure Python code must be fixed. -- Zach