Antoine Pitrou <pit...@free.fr> added the comment:

An even simpler way to reproduce:

>>> import gc
>>> def g(it):
...   for x in it:
...     gc.collect()
...     yield x
... 
>>> t = tuple(g(range(100)))
Erreur de segmentation


This is probably caused by the GC optimizations I introduced in trunk
and 3.1.

----------
assignee:  -> pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7466>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to