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 <rep...@bugs.python.org> <http://bugs.python.org/issue17669> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com