Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81303

Re: Infinitely nested containers

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Infinitely nested containers
Date 2014-11-22 16:57 -0500
References <931d12c0-12b3-4278-a9b9-1e2c32f138b3@googlegroups.com> <87bno16nsw.fsf@elektro.pacujo.net> <1416591555.652129.193873581.54A97BD7@webmail.messagingengine.com> <CALwzidny+MbAZ-fnhZJ4C2zhEvFtkzPjVJdmzPs+KTbXG5JCHQ@mail.gmail.com> <CAKJDb-MHMXj7nHKND2K_WdkRH7CXs0fgRwKyMeZLPpkNnk-M0g@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.16145.1416693495.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 11/21/2014 2:30 PM, Zachary Ware wrote:
> On Fri, Nov 21, 2014 at 12:37 PM, Ian Kelly <ian.g.kelly@gmail.com> 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.

This is too important to lose.
http://bugs.python.org/issue22920


-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Infinitely nested containers Gill Shen <gillarete@gmail.com> - 2014-11-20 21:54 -0800
  Re: Infinitely nested containers Marko Rauhamaa <marko@pacujo.net> - 2014-11-21 09:00 +0200
    Re: Infinitely nested containers random832@fastmail.us - 2014-11-21 12:39 -0500
      Re: Infinitely nested containers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-22 15:43 +1100
        Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-22 15:50 +1100
          Re: Infinitely nested containers Rustom Mody <rustompmody@gmail.com> - 2014-11-21 21:02 -0800
            Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-22 16:09 +1100
              Re: Infinitely nested containers Rustom Mody <rustompmody@gmail.com> - 2014-11-21 22:03 -0800
        Re: Infinitely nested containers Ethan Furman <ethan@stoneleaf.us> - 2014-11-22 11:50 -0800
          Re: Infinitely nested containers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-23 16:59 +1100
            Re: Infinitely nested containers random832@fastmail.us - 2014-11-23 01:39 -0500
    Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-22 04:47 +1100
    Re: Infinitely nested containers random832@fastmail.us - 2014-11-21 12:50 -0500
    Re: Infinitely nested containers Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-21 11:37 -0700
    Re: Infinitely nested containers Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-11-21 13:30 -0600
    Re: Infinitely nested containers Terry Reedy <tjreedy@udel.edu> - 2014-11-22 16:57 -0500
  Re: Infinitely nested containers Chris Angelico <rosuav@gmail.com> - 2014-11-21 18:03 +1100
  Re: Infinitely nested containers Ian Kelly <ian.g.kelly@gmail.com> - 2014-11-21 10:13 -0700

csiph-web