[issue17669] Segfault caused by weird combination of imports and yield from

R. David Murray report at bugs.python.org
Tue Apr 9 03:27:24 CEST 2013


R. David Murray added the comment:

The crashing version has 'import logging' at the top of generators.py.  I did not experience a crash when it was absent even if there was no __pycache__.

It also doesn't crash if the import is moved out of the body of first_gen.

FAULTHANDLER doesn't fair too well on this one, no real surprise :)

Fatal Python error: Segmentation fault

Current thread 0xb75856c0:
zsh: segmentation fault  PYTHONFAULTHANDLER=true ../python test.py

----------
nosy: +brett.cannon, eric.snow, pitrou, r.david.murray, vinay.sajip
versions: +Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17669>
_______________________________________


More information about the Python-bugs-list mailing list