STINNER Victor added the comment: Your code can be reproduced with pyfailmalloc using N=0 :-) ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue30695> _______________________________________