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

117 lines
4.1 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/pickletools.rst:2
2016-10-30 09:46:26 +00:00
msgid ":mod:`pickletools` --- Tools for pickle developers"
msgstr ""
#: library/pickletools.rst:8
2020-02-14 10:18:53 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid "**Source code:** :source:`Lib/pickletools.py`"
2020-02-14 10:18:53 +00:00
msgstr "**Code source :** :source:`Lib/pickle.py`"
2016-10-30 09:46:26 +00:00
#: library/pickletools.rst:13
2016-10-30 09:46:26 +00:00
msgid ""
"This module contains various constants relating to the intimate details of "
"the :mod:`pickle` module, some lengthy comments about the implementation, "
"and a few useful functions for analyzing pickled data. The contents of this "
"module are useful for Python core developers who are working on the :mod:"
"`pickle`; ordinary users of the :mod:`pickle` module probably won't find "
"the :mod:`pickletools` module relevant."
msgstr ""
#: library/pickletools.rst:21
2016-10-30 09:46:26 +00:00
msgid "Command line usage"
2019-09-16 10:08:42 +00:00
msgstr "Utilisation de la ligne de commande"
2016-10-30 09:46:26 +00:00
#: library/pickletools.rst:25
2016-10-30 09:46:26 +00:00
msgid ""
"When invoked from the command line, ``python -m pickletools`` will "
"disassemble the contents of one or more pickle files. Note that if you want "
"to see the Python object stored in the pickle rather than the details of "
"pickle format, you may want to use ``-m pickle`` instead. However, when the "
"pickle file that you want to examine comes from an untrusted source, ``-m "
"pickletools`` is a safer option because it does not execute pickle bytecode."
msgstr ""
#: library/pickletools.rst:33
2016-10-30 09:46:26 +00:00
msgid "For example, with a tuple ``(1, 2)`` pickled in file ``x.pickle``:"
msgstr ""
#: library/pickletools.rst:50
2016-10-30 09:46:26 +00:00
msgid "Command line options"
2017-09-12 12:04:46 +00:00
msgstr "Options de la ligne de commande"
2016-10-30 09:46:26 +00:00
#: library/pickletools.rst:56
2016-10-30 09:46:26 +00:00
msgid "Annotate each line with a short opcode description."
msgstr ""
#: library/pickletools.rst:60
2016-10-30 09:46:26 +00:00
msgid "Name of a file where the output should be written."
msgstr ""
#: library/pickletools.rst:64
2016-10-30 09:46:26 +00:00
msgid "The number of blanks by which to indent a new MARK level."
msgstr ""
#: library/pickletools.rst:68
2016-10-30 09:46:26 +00:00
msgid ""
"When multiple objects are disassembled, preserve memo between disassemblies."
msgstr ""
#: library/pickletools.rst:73
2016-10-30 09:46:26 +00:00
msgid ""
"When more than one pickle file are specified, print given preamble before "
"each disassembly."
msgstr ""
#: library/pickletools.rst:79
2016-10-30 09:46:26 +00:00
msgid "Programmatic Interface"
msgstr ""
#: library/pickletools.rst:84
2016-10-30 09:46:26 +00:00
msgid ""
"Outputs a symbolic disassembly of the pickle to the file-like object *out*, "
"defaulting to ``sys.stdout``. *pickle* can be a string or a file-like "
"object. *memo* can be a Python dictionary that will be used as the pickle's "
"memo; it can be used to perform disassemblies across multiple pickles "
"created by the same pickler. Successive levels, indicated by ``MARK`` "
"opcodes in the stream, are indented by *indentlevel* spaces. If a nonzero "
"value is given to *annotate*, each opcode in the output is annotated with a "
"short description. The value of *annotate* is used as a hint for the column "
"where annotation should start."
msgstr ""
#: library/pickletools.rst:95
2016-10-30 09:46:26 +00:00
msgid "The *annotate* argument."
msgstr ""
#: library/pickletools.rst:100
2016-10-30 09:46:26 +00:00
msgid ""
"Provides an :term:`iterator` over all of the opcodes in a pickle, returning "
"a sequence of ``(opcode, arg, pos)`` triples. *opcode* is an instance of "
"an :class:`OpcodeInfo` class; *arg* is the decoded value, as a Python "
"object, of the opcode's argument; *pos* is the position at which this opcode "
"is located. *pickle* can be a string or a file-like object."
msgstr ""
#: library/pickletools.rst:108
2016-10-30 09:46:26 +00:00
msgid ""
"Returns a new equivalent pickle string after eliminating unused ``PUT`` "
"opcodes. The optimized pickle is shorter, takes less transmission time, "
"requires less storage space, and unpickles more efficiently."
msgstr ""