Finaly find a minimal example to reproduce http://bugs.python.org/issue12864