1
0
Fork 0
python-docs-fr/library/trace.po

239 lines
7.2 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2018-07-04 09:08:42 +00:00
# For licence information, see README file.
2016-10-30 09:46:26 +00:00
#
msgid ""
msgstr ""
2019-12-05 22:15:54 +00:00
"Project-Id-Version: Python 3\n"
2016-10-30 09:46:26 +00:00
"Report-Msgid-Bugs-To: \n"
2020-09-11 07:11:46 +00:00
"POT-Creation-Date: 2020-08-24 09:01+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
2018-07-04 09:14:25 +00:00
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: library/trace.rst:2
2016-10-30 09:46:26 +00:00
msgid ":mod:`trace` --- Trace or track Python statement execution"
msgstr ""
#: library/trace.rst:7
2016-10-30 09:46:26 +00:00
msgid "**Source code:** :source:`Lib/trace.py`"
msgstr "**Code source :** :source:`Lib/abc.py`"
#: library/trace.rst:11
2016-10-30 09:46:26 +00:00
msgid ""
"The :mod:`trace` module allows you to trace program execution, generate "
"annotated statement coverage listings, print caller/callee relationships and "
"list functions executed during a program run. It can be used in another "
"program or from the command line."
msgstr ""
#: library/trace.rst:19
2017-04-02 20:14:06 +00:00
msgid "`Coverage.py <https://coverage.readthedocs.io/>`_"
msgstr ""
#: library/trace.rst:19
2017-04-02 20:14:06 +00:00
msgid ""
"A popular third-party coverage tool that provides HTML output along with "
"advanced features such as branch coverage."
msgstr ""
#: library/trace.rst:25
2016-10-30 09:46:26 +00:00
msgid "Command-Line Usage"
msgstr "Utilisation en ligne de commande."
2016-10-30 09:46:26 +00:00
#: library/trace.rst:27
2016-10-30 09:46:26 +00:00
msgid ""
"The :mod:`trace` module can be invoked from the command line. It can be as "
"simple as ::"
msgstr ""
#: library/trace.rst:32
2016-10-30 09:46:26 +00:00
msgid ""
"The above will execute :file:`somefile.py` and generate annotated listings "
"of all Python modules imported during the execution into the current "
"directory."
msgstr ""
#: library/trace.rst:39
2016-10-30 09:46:26 +00:00
msgid "Display usage and exit."
msgstr ""
#: library/trace.rst:43
2016-10-30 09:46:26 +00:00
msgid "Display the version of the module and exit."
msgstr ""
#: library/trace.rst:45
2019-09-04 09:35:23 +00:00
msgid "Added ``--module`` option that allows to run an executable module."
msgstr ""
#: library/trace.rst:49
2016-10-30 09:46:26 +00:00
msgid "Main options"
msgstr ""
#: library/trace.rst:51
2016-10-30 09:46:26 +00:00
msgid ""
"At least one of the following options must be specified when invoking :mod:"
"`trace`. The :option:`--listfuncs <-l>` option is mutually exclusive with "
"the :option:`--trace <-t>` and :option:`--count <-c>` options. When :option:"
"`--listfuncs <-l>` is provided, neither :option:`--count <-c>` nor :option:"
"`--trace <-t>` are accepted, and vice versa."
msgstr ""
#: library/trace.rst:61
2016-10-30 09:46:26 +00:00
msgid ""
"Produce a set of annotated listing files upon program completion that shows "
"how many times each statement was executed. See also :option:`--coverdir <-"
"C>`, :option:`--file <-f>` and :option:`--no-report <-R>` below."
msgstr ""
#: library/trace.rst:68
2016-10-30 09:46:26 +00:00
msgid "Display lines as they are executed."
msgstr ""
#: library/trace.rst:72
2016-10-30 09:46:26 +00:00
msgid "Display the functions executed by running the program."
msgstr ""
#: library/trace.rst:76
2016-10-30 09:46:26 +00:00
msgid ""
"Produce an annotated list from an earlier program run that used the :option:"
"`--count <-c>` and :option:`--file <-f>` option. This does not execute any "
"code."
msgstr ""
#: library/trace.rst:82
2016-10-30 09:46:26 +00:00
msgid "Display the calling relationships exposed by running the program."
msgstr ""
#: library/trace.rst:85
2016-10-30 09:46:26 +00:00
msgid "Modifiers"
msgstr ""
#: library/trace.rst:91
2016-10-30 09:46:26 +00:00
msgid ""
"Name of a file to accumulate counts over several tracing runs. Should be "
"used with the :option:`--count <-c>` option."
msgstr ""
#: library/trace.rst:96
2016-10-30 09:46:26 +00:00
msgid ""
"Directory where the report files go. The coverage report for ``package."
"module`` is written to file :file:`{dir}/{package}/{module}.cover`."
msgstr ""
#: library/trace.rst:101
2016-10-30 09:46:26 +00:00
msgid ""
"When generating annotated listings, mark lines which were not executed with "
"``>>>>>>``."
msgstr ""
#: library/trace.rst:106
2016-10-30 09:46:26 +00:00
msgid ""
"When using :option:`--count <-c>` or :option:`--report <-r>`, write a brief "
"summary to stdout for each file processed."
msgstr ""
#: library/trace.rst:111
2016-10-30 09:46:26 +00:00
msgid ""
"Do not generate annotated listings. This is useful if you intend to make "
"several runs with :option:`--count <-c>`, and then produce a single set of "
"annotated listings at the end."
msgstr ""
#: library/trace.rst:117
2016-10-30 09:46:26 +00:00
msgid ""
"Prefix each line with the time since the program started. Only used while "
"tracing."
msgstr ""
#: library/trace.rst:121
2016-10-30 09:46:26 +00:00
msgid "Filters"
msgstr ""
#: library/trace.rst:123
2016-10-30 09:46:26 +00:00
msgid "These options may be repeated multiple times."
msgstr ""
#: library/trace.rst:129
2016-10-30 09:46:26 +00:00
msgid ""
"Ignore each of the given module names and its submodules (if it is a "
"package). The argument can be a list of names separated by a comma."
msgstr ""
#: library/trace.rst:134
2016-10-30 09:46:26 +00:00
msgid ""
"Ignore all modules and packages in the named directory and subdirectories. "
"The argument can be a list of directories separated by :data:`os.pathsep`."
msgstr ""
#: library/trace.rst:140
2016-10-30 09:46:26 +00:00
msgid "Programmatic Interface"
msgstr ""
#: library/trace.rst:145
2016-10-30 09:46:26 +00:00
msgid ""
"Create an object to trace execution of a single statement or expression. "
"All parameters are optional. *count* enables counting of line numbers. "
"*trace* enables line execution tracing. *countfuncs* enables listing of the "
"functions called during the run. *countcallers* enables call relationship "
"tracking. *ignoremods* is a list of modules or packages to ignore. "
"*ignoredirs* is a list of directories whose modules or packages should be "
"ignored. *infile* is the name of the file from which to read stored count "
"information. *outfile* is the name of the file in which to write updated "
"count information. *timing* enables a timestamp relative to when tracing "
"was started to be displayed."
msgstr ""
#: library/trace.rst:158
2016-10-30 09:46:26 +00:00
msgid ""
"Execute the command and gather statistics from the execution with the "
"current tracing parameters. *cmd* must be a string or code object, suitable "
"for passing into :func:`exec`."
msgstr ""
#: library/trace.rst:164
2016-10-30 09:46:26 +00:00
msgid ""
"Execute the command and gather statistics from the execution with the "
"current tracing parameters, in the defined global and local environments. "
"If not defined, *globals* and *locals* default to empty dictionaries."
msgstr ""
#: library/trace.rst:171
2016-10-30 09:46:26 +00:00
msgid ""
"Call *func* with the given arguments under control of the :class:`Trace` "
"object with the current tracing parameters."
msgstr ""
#: library/trace.rst:176
2016-10-30 09:46:26 +00:00
msgid ""
"Return a :class:`CoverageResults` object that contains the cumulative "
"results of all previous calls to ``run``, ``runctx`` and ``runfunc`` for the "
"given :class:`Trace` instance. Does not reset the accumulated trace results."
msgstr ""
#: library/trace.rst:183
2016-10-30 09:46:26 +00:00
msgid ""
"A container for coverage results, created by :meth:`Trace.results`. Should "
"not be created directly by the user."
msgstr ""
#: library/trace.rst:188
2016-10-30 09:46:26 +00:00
msgid "Merge in data from another :class:`CoverageResults` object."
msgstr ""
#: library/trace.rst:192
2016-10-30 09:46:26 +00:00
msgid ""
"Write coverage results. Set *show_missing* to show lines that had no hits. "
"Set *summary* to include in the output the coverage summary per module. "
"*coverdir* specifies the directory into which the coverage result files will "
"be output. If ``None``, the results for each source file are placed in its "
"directory."
msgstr ""
#: library/trace.rst:198
2016-10-30 09:46:26 +00:00
msgid "A simple example demonstrating the use of the programmatic interface::"
msgstr ""