Message111111
The -m interpreter option allows one to run library module as a script, but if you want to debug, profile or trace the execution of the same, you must supply the path to the module source file on the command line. The resulting execution may also be different from python -m run especially when the module is located within a package.
I would like to be able to do
$ python -m trace <trace options> --run-module <module name>
and the same with pdb and profile in place of trace. |
|
Date |
User |
Action |
Args |
2010-07-21 20:25:04 | belopolsky | set | recipients:
+ belopolsky |
2010-07-21 20:25:02 | belopolsky | set | messageid: <1279743902.96.0.66207849175.issue9325@psf.upfronthosting.co.za> |
2010-07-21 20:24:58 | belopolsky | link | issue9325 messages |
2010-07-21 20:24:58 | belopolsky | create | |
|