This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients Markus.Pröller, eric.araujo, georg.brandl, meador.inge
Date 2010-09-02.03:10:31
SpamBayes Score 1.04442e-09
Marked as misclassified No
Message-id <>
I believe this is slightly tricky because 'bdb.format_stack_entry' makes references to '.f_locals' and 'bdb.format_stack_entry' is invoked in several places in 'pdb'.  One option would be to add a extra parameter to 'bdb.format_stack_entry' to accept a dictionary of locals to operate with.

I implemented this approach and added a doctest to verify.  See attached patch.  I didn't update the 'bdb' documentation to note the new parameter, but will if this approach seems reasonable.
Date User Action Args
2010-09-02 03:10:34meador.ingesetrecipients: + meador.inge, georg.brandl, eric.araujo, Markus.Pröller
2010-09-02 03:10:34meador.ingesetmessageid: <>
2010-09-02 03:10:33meador.ingelinkissue9633 messages
2010-09-02 03:10:32meador.ingecreate