[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function

R. David Murray report at bugs.python.org
Sat Jul 17 01:23:13 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Well, you could discuss that possibility on python-dev, I suppose.

As long as you don't need the changes to persist outside of the debugging loop, you can use InteractiveInterpreter as designed and keep passing it the same (modified) dict every time, as was done in the pdb fix.

----------

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


More information about the Python-bugs-list mailing list