[issue14507] Segfault with starmap and izip combo

2012-04-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Kristján, we already have provisions to avoid stack overflows, instead bailing out with a RuntimeError. So this is a bug. -- ___ Python tracker __

[issue14507] Segfault with starmap and izip combo

2012-04-15 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: You are creating a 10 level nested structure of iterators. It is no wonder that you exhaust the stack space of the interpreter. You would get the same with any iterator combination, nothing special with zip and starmap here. I can't see that any

[issue14507] Segfault with starmap and izip combo

2012-04-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue14507] Segfault with starmap and izip combo

2012-04-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3.0a2, command prompt window: 'python has stopped working' in about 2 secs. -- ___ Python tracker ___ ___

[issue14507] Segfault with starmap and izip combo

2012-04-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Win7, 64 bit, IDLE shell and editor, 3.2.3c2, 24 gb machine, added print(): I got no response for about 10 secs until a process restart happens, which I believe means that the background pythonw process stopped. If I hit ^C before that, I get the Windows segfau

[issue14507] Segfault with starmap and izip combo

2012-04-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14507] Segfault with starmap and izip combo

2012-04-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Apparently it's a stack overflow between zip_next and starmap_next. -- nosy: +pitrou, rhettinger versions: +Python 3.3 ___ Python tracker ___ _

[issue14507] Segfault with starmap and izip combo

2012-04-05 Thread Per Myren
New submission from Per Myren : The following code crashes with a segfault on Python 2.7.2: from operator import add from itertools import izip, starmap a = b = [1] for i in xrange(10): a = starmap(add, izip(a, b)) list(a) It also crashes with Python 3.2.2: from operator import add