rest25/library/trace.rst => rest262/library/trace.rst
59   When generating annotated listings, mark lines which were not executed with
60   '``>>>>>>``'.
61
62:option:`--summary`, :option:`-s`
63   When using :option:`--count` or :option:`--report`, write a brief summary to
64   stdout for each file processed.
65
66:option:`--ignore-module`
n67+   Accepts comma separated list of module names. Ignore each of the named
67-   Ignore the named module and its submodules (if it is a package).  May be given
68+   module and its submodules (if it is a package).  May be given
68   multiple times.
69
70:option:`--ignore-dir`
n71-   Ignore all modules and packages in the named directory and subdirectories.  May
n72+   Ignore all modules and packages in the named directory and subdirectories
72-   be given multiple times.
73+   (multiple directories can be joined by os.pathsep).  May be given multiple
74+   times.
73
74
75.. _trace-api:
76
77Programming Interface
78---------------------
79
80
n81-.. class:: Trace([count=1[, trace=1[, countfuncs=0[, countcallers=0[, ignoremods=()[, ignoredirs=()[, infile=None[, outfile=None]]]]]]]])
n83+.. class:: Trace([count=1[, trace=1[, countfuncs=0[, countcallers=0[, ignoremods=()[, ignoredirs=()[, infile=None[, outfile=None[, timing=False]]]]]]]]])
82
83   Create an object to trace execution of a single statement or expression. All
84   parameters are optional.  *count* enables counting of line numbers. *trace*
85   enables line execution tracing.  *countfuncs* enables listing of the functions
86   called during the run.  *countcallers* enables call relationship tracking.
87   *ignoremods* is a list of modules or packages to ignore.  *ignoredirs* is a list
88   of directories whose modules or packages should be ignored.  *infile* is the
89   file from which to read stored count information.  *outfile* is a file in which
t90-   to write updated count information.
t92+   to write updated count information. *timing* enables a timestamp relative
93+   to when tracing was started to be displayed.
91
92
93.. method:: Trace.run(cmd)
94
95   Run *cmd* under control of the Trace object with the current tracing parameters.
96
97
98.. method:: Trace.runctx(cmd[, globals=None[, locals=None]])
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op