New submission from Frank Hamand:

I've found a very strange bug in python 3.3

It's taken me around an hour just to narrow it down to a small case where it 
happens.

I cannot for the life of me figure out the exact cause. It seems to have 
something to do with "yield from".

I've attached a case which reproduces this. Run python3.3 test.py, it should 
segfault on linux, "stopped responding" on windows.

Tested with
OS: Linux Debian-60-squeeze-32-minimal 2.6.32-5-686-bigmem
PY: Python 3.3.1rc1 (default, Mar 30 2013, 21:44:39)

OS: Windows 7 64 bit
PY: Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 
bit (Intel)] on win32


NOTES: If you get rid of "import logging" in generators.py, it only crashes if 
there's no __pycache__

----------
title: Segfault caused by -> Segfault caused by weird combination of imports 
and yield from
Added file: http://bugs.python.org/file29744/segfault.zip

_______________________________________
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

Reply via email to