Message118818
I have found the cause of at least part of the issue. Apparently, module level statements for some of the modules such as pickle do not show up in trace because they are imported by trace itself. In other words, by the time traced script gets executed, pickle is already in sys.module and the code therein does not run.
Maybe we should consider clearing sys.modules in Trace.run, but this can cause problems if not done carefully. |
|
Date |
User |
Action |
Args |
2010-10-15 18:32:18 | belopolsky | set | recipients:
+ belopolsky, terry.reedy, eli.bendersky |
2010-10-15 18:32:18 | belopolsky | set | messageid: <1287167538.68.0.75102110303.issue9317@psf.upfronthosting.co.za> |
2010-10-15 18:32:17 | belopolsky | link | issue9317 messages |
2010-10-15 18:32:16 | belopolsky | create | |
|