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 vstinner
Recipients brunogola, loewis, pitrou, tim.peters, vstinner
Date 2011-01-06.00:23:28
SpamBayes Score 1.6221381e-06
Marked as misclassified No
Message-id <1294273410.4.0.175324195208.issue10492@psf.upfronthosting.co.za>
In-reply-to
Content
> set the trace function later. Eg. replace exec(cmd, ...)
> by code=compile(cmd, ...) + exec(code) and set the trace function 
> after the call to compile.

Implemented in the attached patch, bdb.patch: trace the execution of the code, not the compilation of the code.

> I don't know if both codes are equivalent.

I still don't know :-p
History
Date User Action Args
2011-01-06 00:23:30vstinnersetrecipients: + vstinner, tim.peters, loewis, pitrou, brunogola
2011-01-06 00:23:30vstinnersetmessageid: <1294273410.4.0.175324195208.issue10492@psf.upfronthosting.co.za>
2011-01-06 00:23:28vstinnerlinkissue10492 messages
2011-01-06 00:23:28vstinnercreate