[issue30744] Local variable assignment is broken when combined with threads + tracing + closures

Armin Rigo report at bugs.python.org
Sat Jun 24 02:53:17 EDT 2017


Armin Rigo added the comment:

A version of the same problem without threads, using generators instead to get the bug deterministically.  Prints 1, 1, 1, 1 on CPython and 1, 2, 3, 3 on PyPy; in both cases we would rather expect 1, 2, 3, 4.

----------
Added file: http://bugs.python.org/file46972/x.py

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


More information about the Python-bugs-list mailing list