117 lines
4.1 KiB
Plaintext
117 lines
4.1 KiB
Plaintext
# Copyright (C) 2001-2018, Python Software Foundation
|
||
# For licence information, see README file.
|
||
#
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Python 3\n"
|
||
"Report-Msgid-Bugs-To: \n"
|
||
"POT-Creation-Date: 2020-08-24 09:01+0200\n"
|
||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||
"Language: fr\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
|
||
#: library/pickletools.rst:2
|
||
msgid ":mod:`pickletools` --- Tools for pickle developers"
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:8
|
||
#, fuzzy
|
||
msgid "**Source code:** :source:`Lib/pickletools.py`"
|
||
msgstr "**Code source :** :source:`Lib/pickle.py`"
|
||
|
||
#: library/pickletools.rst:13
|
||
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
|
||
msgid "Command line usage"
|
||
msgstr "Utilisation de la ligne de commande"
|
||
|
||
#: library/pickletools.rst:25
|
||
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
|
||
msgid "For example, with a tuple ``(1, 2)`` pickled in file ``x.pickle``:"
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:50
|
||
msgid "Command line options"
|
||
msgstr "Options de la ligne de commande"
|
||
|
||
#: library/pickletools.rst:56
|
||
msgid "Annotate each line with a short opcode description."
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:60
|
||
msgid "Name of a file where the output should be written."
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:64
|
||
msgid "The number of blanks by which to indent a new MARK level."
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:68
|
||
msgid ""
|
||
"When multiple objects are disassembled, preserve memo between disassemblies."
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:73
|
||
msgid ""
|
||
"When more than one pickle file are specified, print given preamble before "
|
||
"each disassembly."
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:79
|
||
msgid "Programmatic Interface"
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:84
|
||
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
|
||
msgid "The *annotate* argument."
|
||
msgstr ""
|
||
|
||
#: library/pickletools.rst:100
|
||
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
|
||
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 ""
|