Message115358
| Author | meador.inge |
|---|---|
| Recipients | Markus.Pröller, eric.araujo, georg.brandl, meador.inge |
| Date | 2010-09-02.03:10:31 |
| SpamBayes Score | 1.0444177e-09 |
| Marked as misclassified | No |
| Message-id | <1283397034.45.0.051502634719.issue9633@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-09-02 03:10:34 | meador.inge | set | recipients: + meador.inge, georg.brandl, eric.araujo, Markus.Pröller |
| 2010-09-02 03:10:34 | meador.inge | set | messageid: <1283397034.45.0.051502634719.issue9633@psf.upfronthosting.co.za> |
| 2010-09-02 03:10:33 | meador.inge | link | issue9633 messages |
| 2010-09-02 03:10:32 | meador.inge | create | |