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

Xavier de Gaye report at bugs.python.org
Sat Jul 1 06:03:27 EDT 2017


Xavier de Gaye added the comment:

In msg296758 Nathaniel wrote:
> It turns out if you simply delete the LocalsToFast and FastToLocals calls in call_trampoline, then the test suite still passes. I'm pretty sure that pdb relies on this as a way to set local variables, though, so I think this is probably more of a bug in the test suite than anything else.

Maybe a point to be taken in this issue is that pdb does a poor usage of this feature as shown in issue 9633: changing the value of a local only works in limited cases.

----------
nosy: +xdegaye

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


More information about the Python-bugs-list mailing list