[issue5215] change value of local variable in debug
Maru Newby
report at bugs.python.org
Thu Apr 2 00:49:28 CEST 2009
Maru Newby <mnewby at thesprawl.net> added the comment:
Modifications to the f_locals dict are only saved at the end of
traceback, and each traceback function was using the f_locals accessor
that returns the dict state as of the start of traceback. The provided
patch caches f_locals on setup and ensures that all traceback functions
share that cached dict, ensuring that modifications are no longer
overwritten by a function using the unmodified dict.
----------
keywords: +patch
nosy: +maru
Added file: http://bugs.python.org/file13561/pdb_cache_f_locals.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5215>
_______________________________________
More information about the Python-bugs-list
mailing list