Maru Newby <mne...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5215> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com