Message134266
| Author |
Greg.Slodkowicz |
| Recipients |
Greg.Slodkowicz, belopolsky, eli.bendersky, georg.brandl, giampaolo.rodola, ncoghlan, terry.reedy |
| Date |
2011年04月22日.15:40:06 |
| SpamBayes Score |
0.007463373 |
| Marked as misclassified |
No |
| Message-id |
<1303486807.03.0.601105106767.issue9325@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks, Nick. Before your last comment, I haven't looked much into Pdb, instead focusing on profile.py and trace.py because they looked like simpler cases. I think the approach with CodeRunner objects would work just fine for profile and trace but Pdb uses run() inherited from Bdb. In order to make it work with a CodeRunner object, it seems run() would have to be reimplemented in Pdb (effectively becoming a 'runCodeRunner()'), and we could probably do without _runscript(). Is that what you had in mind? |
|