Make merge
This commit is contained in:
parent 3db1d961d6
commit fecaae68a8
262 changed files with 30375 additions and 23441 deletions
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -182,7 +182,18 @@ msgid "" | |||
"``0x030a00f0``." | ||||
msgstr "Ainsi ``3.4.1a2`` est une hexane-version ``0x030401a2``." | ||||
| ||||
#: c-api/apiabiversion.rst:62 | ||||
#: c-api/apiabiversion.rst:61 | ||||
msgid "This version is also available via the symbol :data:`Py_Version`." | ||||
msgstr "" | ||||
| ||||
#: c-api/apiabiversion.rst:65 | ||||
msgid "" | ||||
"The Python runtime version number encoded in a single constant integer, with " | ||||
"the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the " | ||||
"Python version used at run time." | ||||
msgstr "" | ||||
| ||||
#: c-api/apiabiversion.rst:71 | ||||
msgid "All the given macros are defined in :source:`Include/patchlevel.h`." | ||||
msgstr "" | ||||
"Toutes les macros données sont définies dans :source:`Include/patchlevel.h`." | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2021-12-11 11:44+0100\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -523,8 +523,8 @@ msgstr "Il existe deux modes de fonctionnement :" | |||
#: c-api/arg.rst:231 | ||||
msgid "" | ||||
"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a " | ||||
"buffer of the needed size, copy the encoded data into this buffer and set *" | ||||
"\\*buffer* to reference the newly allocated storage. The caller is " | ||||
"buffer of the needed size, copy the encoded data into this buffer and set " | ||||
"*\\*buffer* to reference the newly allocated storage. The caller is " | ||||
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer " | ||||
"after usage." | ||||
msgstr "" | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2020-10-01 16:00+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2021-10-27 21:13+0200\n" | ||||
"Last-Translator: David GIRAUD <davidgiraud@protonmail.com>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -679,33 +679,43 @@ msgstr "" | |||
| ||||
#: c-api/buffer.rst:504 | ||||
msgid "" | ||||
"Copy data from *src* to *dest* buffer. Can convert between C-style and or " | ||||
"Fortran-style buffers." | ||||
msgstr "" | ||||
| ||||
#: c-api/buffer.rst:507 | ||||
msgid "``0`` is returned on success, ``-1`` on error." | ||||
msgstr "" | ||||
| ||||
#: c-api/buffer.rst:511 | ||||
msgid "" | ||||
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style " | ||||
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the " | ||||
"given shape with the given number of bytes per element." | ||||
msgstr "" | ||||
| ||||
#: c-api/buffer.rst:511 | ||||
#: c-api/buffer.rst:518 | ||||
msgid "" | ||||
"Handle buffer requests for an exporter that wants to expose *buf* of size " | ||||
"*len* with writability set according to *readonly*. *buf* is interpreted as " | ||||
"a sequence of unsigned bytes." | ||||
msgstr "" | ||||
| ||||
#: c-api/buffer.rst:515 | ||||
#: c-api/buffer.rst:522 | ||||
msgid "" | ||||
"The *flags* argument indicates the request type. This function always fills " | ||||
"in *view* as specified by flags, unless *buf* has been designated as read-" | ||||
"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*." | ||||
msgstr "" | ||||
| ||||
#: c-api/buffer.rst:519 | ||||
#: c-api/buffer.rst:526 | ||||
msgid "" | ||||
"On success, set ``view->obj`` to a new reference to *exporter* and return 0. " | ||||
"Otherwise, raise :c:data:`PyExc_BufferError`, set ``view->obj`` to ``NULL`` " | ||||
"and return ``-1``;" | ||||
msgstr "" | ||||
| ||||
#: c-api/buffer.rst:523 | ||||
#: c-api/buffer.rst:530 | ||||
msgid "" | ||||
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, " | ||||
"*exporter* MUST be set to the exporting object and *flags* must be passed " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-01-27 19:26+0100\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2018-07-03 11:50+0200\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -224,9 +224,9 @@ msgstr "" | |||
| ||||
#: c-api/bytes.rst:102 | ||||
msgid "" | ||||
"The hex representation of a C pointer. Mostly equivalent to ``printf(\"%p" | ||||
"\")`` except that it is guaranteed to start with the literal ``0x`` " | ||||
"regardless of what the platform's ``printf`` yields." | ||||
"The hex representation of a C pointer. Mostly equivalent to " | ||||
"``printf(\"%p\")`` except that it is guaranteed to start with the literal " | ||||
"``0x`` regardless of what the platform's ``printf`` yields." | ||||
msgstr "" | ||||
| ||||
#: c-api/bytes.rst:111 | ||||
| | @ -330,7 +330,7 @@ msgid "" | |||
"address of an existing bytes object as an lvalue (it may be written into), " | ||||
"and the new size desired. On success, *\\*bytes* holds the resized bytes " | ||||
"object and ``0`` is returned; the address in *\\*bytes* may differ from its " | ||||
"input value. If the reallocation fails, the original bytes object at *" | ||||
"\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` " | ||||
"input value. If the reallocation fails, the original bytes object at " | ||||
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` " | ||||
"is set, and ``-1`` is returned." | ||||
msgstr "" | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-01-27 19:26+0100\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -139,18 +139,20 @@ msgid "" | |||
"Import a pointer to a C object from a capsule attribute in a module. The " | ||||
"*name* parameter should specify the full name to the attribute, as in " | ||||
"``module.attribute``. The *name* stored in the capsule must match this " | ||||
"string exactly. If *no_block* is true, import the module without blocking " | ||||
"(using :c:func:`PyImport_ImportModuleNoBlock`). If *no_block* is false, " | ||||
"import the module conventionally (using :c:func:`PyImport_ImportModule`)." | ||||
"string exactly." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:110 | ||||
#: c-api/capsule.rst:108 | ||||
msgid "" | ||||
"Return the capsule's internal *pointer* on success. On failure, set an " | ||||
"exception and return ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:116 | ||||
#: c-api/capsule.rst:111 | ||||
msgid "*no_block* has no effect anymore." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:117 | ||||
msgid "" | ||||
"Determines whether or not *capsule* is a valid capsule. A valid capsule is " | ||||
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` " | ||||
| | @ -159,40 +161,40 @@ msgid "" | |||
"compared.)" | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:122 | ||||
#: c-api/capsule.rst:123 | ||||
msgid "" | ||||
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls " | ||||
"to any of the accessors (any function starting with :c:func:`PyCapsule_Get`) " | ||||
"are guaranteed to succeed." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:126 | ||||
#: c-api/capsule.rst:127 | ||||
msgid "" | ||||
"Return a nonzero value if the object is valid and matches the name passed " | ||||
"in. Return ``0`` otherwise. This function will not fail." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:132 | ||||
#: c-api/capsule.rst:133 | ||||
msgid "Set the context pointer inside *capsule* to *context*." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:141 c-api/capsule.rst:158 | ||||
#: c-api/capsule.rst:142 c-api/capsule.rst:159 | ||||
msgid "" | ||||
"Return ``0`` on success. Return nonzero and set an exception on failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:139 | ||||
#: c-api/capsule.rst:140 | ||||
msgid "Set the destructor inside *capsule* to *destructor*." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:146 | ||||
#: c-api/capsule.rst:147 | ||||
msgid "" | ||||
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must " | ||||
"outlive the capsule. If the previous *name* stored in the capsule was not " | ||||
"``NULL``, no attempt is made to free it." | ||||
msgstr "" | ||||
| ||||
#: c-api/capsule.rst:155 | ||||
#: c-api/capsule.rst:156 | ||||
msgid "" | ||||
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be " | ||||
"``NULL``." | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2018-02-15 00:30+0100\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -96,3 +96,14 @@ msgid "" | |||
"API described in PEP 626 <https://www.python.org/dev/peps/pep-0626/#out-of-" | ||||
"process-debuggers-and-profilers>`_." | ||||
msgstr "" | ||||
| ||||
#: c-api/code.rst:65 | ||||
msgid "" | ||||
"Sets the passed ``int`` pointers to the source code line and column numbers " | ||||
"for the instruction at ``byte_offset``. Sets the value to ``0`` when " | ||||
"information is not available for any particular element." | ||||
msgstr "" | ||||
| ||||
#: c-api/code.rst:69 | ||||
msgid "Returns ``1`` if the function succeeds and 0 otherwise." | ||||
msgstr "" | ||||
| | | |||
File diff suppressed because it is too large Load diff
118 c-api/float.po
118
c-api/float.po | | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-01-27 19:26+0100\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2019-01-14 15:30+0100\n" | ||||
"Last-Translator: ANTOINE FOURES <afoures@student.42.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -123,6 +123,122 @@ msgstr "" | |||
"Renvoie le nombre à virgule flottante minimal normalisé *DBL_MIN* sous la " | ||||
"forme :c:type:`double` en C." | ||||
| ||||
#: c-api/float.rst:82 | ||||
msgid "Pack and Unpack functions" | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:84 | ||||
msgid "" | ||||
"The pack and unpack functions provide an efficient platform-independent way " | ||||
"to store floating-point values as byte strings. The Pack routines produce a " | ||||
"bytes string from a C :c:type:`double`, and the Unpack routines produce a C :" | ||||
"c:type:`double` from such a bytes string. The suffix (2, 4 or 8) specifies " | ||||
"the number of bytes in the bytes string." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:90 | ||||
msgid "" | ||||
"On platforms that appear to use IEEE 754 formats these functions work by " | ||||
"copying bits. On other platforms, the 2-byte format is identical to the IEEE " | ||||
"754 binary16 half-precision format, the 4-byte format (32-bit) is identical " | ||||
"to the IEEE 754 binary32 single precision format, and the 8-byte format to " | ||||
"the IEEE 754 binary64 double precision format, although the packing of INFs " | ||||
"and NaNs (if such things exist on the platform) isn't handled correctly, and " | ||||
"attempting to unpack a bytes string containing an IEEE INF or NaN will raise " | ||||
"an exception." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:99 | ||||
msgid "" | ||||
"On non-IEEE platforms with more precision, or larger dynamic range, than " | ||||
"IEEE 754 supports, not all values can be packed; on non-IEEE platforms with " | ||||
"less precision, or smaller dynamic range, not all values can be unpacked. " | ||||
"What happens in such cases is partly accidental (alas)." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:107 | ||||
msgid "Pack functions" | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:109 | ||||
msgid "" | ||||
"The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:type:" | ||||
"`int` argument, non-zero if you want the bytes string in little-endian " | ||||
"format (exponent last, at ``p+1``, ``p+3``, or ``p+6`` ``p+7``), zero if you " | ||||
"want big-endian format (exponent first, at *p*). The :c:data:`PY_BIG_ENDIAN` " | ||||
"constant can be used to use the native endian: it is equal to ``1`` on big " | ||||
"endian processor, or ``0`` on little endian processor." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:116 | ||||
msgid "" | ||||
"Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set, " | ||||
"most likely :exc:`OverflowError`)." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:119 | ||||
msgid "There are two problems on non-IEEE platforms:" | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:121 | ||||
msgid "What this does is undefined if *x* is a NaN or infinity." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:122 | ||||
msgid "``-0.0`` and ``+0.0`` produce the same bytes string." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:126 | ||||
msgid "Pack a C double as the IEEE 754 binary16 half-precision format." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:130 | ||||
msgid "Pack a C double as the IEEE 754 binary32 single precision format." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:134 | ||||
msgid "Pack a C double as the IEEE 754 binary64 double precision format." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:138 | ||||
msgid "Unpack functions" | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:140 | ||||
msgid "" | ||||
"The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an :c:" | ||||
"type:`int` argument, non-zero if the bytes string is in little-endian format " | ||||
"(exponent last, at ``p+1``, ``p+3`` or ``p+6`` and ``p+7``), zero if big-" | ||||
"endian (exponent first, at *p*). The :c:data:`PY_BIG_ENDIAN` constant can be " | ||||
"used to use the native endian: it is equal to ``1`` on big endian processor, " | ||||
"or ``0`` on little endian processor." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:147 | ||||
msgid "" | ||||
"Return value: The unpacked double. On error, this is ``-1.0`` and :c:func:" | ||||
"`PyErr_Occurred` is true (and an exception is set, most likely :exc:" | ||||
"`OverflowError`)." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:151 | ||||
msgid "" | ||||
"Note that on a non-IEEE platform this will refuse to unpack a bytes string " | ||||
"that represents a NaN or infinity." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:156 | ||||
msgid "Unpack the IEEE 754 binary16 half-precision format as a C double." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:160 | ||||
msgid "Unpack the IEEE 754 binary32 single precision format as a C double." | ||||
msgstr "" | ||||
| ||||
#: c-api/float.rst:164 | ||||
msgid "Unpack the IEEE 754 binary64 double precision format as a C double." | ||||
msgstr "" | ||||
| ||||
#~ msgid "" | ||||
#~ "Clear the float free list. Return the number of items that could not be " | ||||
#~ "freed." | ||||
| | | |||
73 c-api/frame.po Normal file
73
c-api/frame.po Normal file | | @ -0,0 +1,73 @@ | |||
# SOME DESCRIPTIVE TITLE. | ||||
# Copyright (C) 2001-2022, Python Software Foundation | ||||
# This file is distributed under the same license as the Python package. | ||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||||
# | ||||
#, fuzzy | ||||
msgid "" | ||||
msgstr "" | ||||
"Project-Id-Version: Python 3.11\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
| ||||
#: c-api/frame.rst:4 | ||||
msgid "Frame Objects" | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:8 | ||||
msgid "The C structure of the objects used to describe frame objects." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:10 | ||||
msgid "The structure is not part of the C API." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:12 | ||||
msgid "The structure moved to the internal C API headers." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:15 | ||||
msgid "" | ||||
"The :c:func:`PyEval_GetFrame` and :c:func:`PyThreadState_GetFrame` functions " | ||||
"can be used to get a frame object." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:18 | ||||
msgid "See also :ref:`Reflection <reflection>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:23 | ||||
msgid "Get the *frame* next outer frame." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:25 | ||||
msgid "" | ||||
"Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer frame." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:48 | ||||
msgid "*frame* must not be ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:35 | ||||
msgid "Get the *frame* code." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:37 | ||||
msgid "Return a :term:`strong reference`." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:39 | ||||
msgid "" | ||||
"*frame* must not be ``NULL``. The result (frame code) cannot be ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/frame.rst:46 | ||||
msgid "Return the line number that *frame* is currently executing." | ||||
msgstr "" | ||||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -52,72 +52,72 @@ msgid "" | |||
"The function's docstring and name are retrieved from the code object. " | ||||
"*__module__* is retrieved from *globals*. The argument defaults, annotations " | ||||
"and closure are set to ``NULL``. *__qualname__* is set to the same value as " | ||||
"the function's name." | ||||
"the code object's ``co_qualname`` field." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:44 | ||||
#: c-api/function.rst:45 | ||||
msgid "" | ||||
"As :c:func:`PyFunction_New`, but also allows setting the function object's " | ||||
"``__qualname__`` attribute. *qualname* should be a unicode object or " | ||||
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same " | ||||
"value as its ``__name__`` attribute." | ||||
"value as the code object's ``co_qualname`` field." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:54 | ||||
#: c-api/function.rst:55 | ||||
msgid "Return the code object associated with the function object *op*." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:59 | ||||
#: c-api/function.rst:60 | ||||
msgid "Return the globals dictionary associated with the function object *op*." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:64 | ||||
#: c-api/function.rst:65 | ||||
msgid "" | ||||
"Return a :term:`borrowed reference` to the *__module__* attribute of the " | ||||
"function object *op*. It can be *NULL*." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:67 | ||||
#: c-api/function.rst:68 | ||||
msgid "" | ||||
"This is normally a string containing the module name, but can be set to any " | ||||
"other object by Python code." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:73 | ||||
#: c-api/function.rst:74 | ||||
msgid "" | ||||
"Return the argument default values of the function object *op*. This can be " | ||||
"a tuple of arguments or ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:79 | ||||
#: c-api/function.rst:80 | ||||
msgid "" | ||||
"Set the argument default values for the function object *op*. *defaults* " | ||||
"must be ``Py_None`` or a tuple." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:96 c-api/function.rst:110 | ||||
#: c-api/function.rst:97 c-api/function.rst:111 | ||||
msgid "Raises :exc:`SystemError` and returns ``-1`` on failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:87 | ||||
#: c-api/function.rst:88 | ||||
msgid "" | ||||
"Return the closure associated with the function object *op*. This can be " | ||||
"``NULL`` or a tuple of cell objects." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:93 | ||||
#: c-api/function.rst:94 | ||||
msgid "" | ||||
"Set the closure associated with the function object *op*. *closure* must be " | ||||
"``Py_None`` or a tuple of cell objects." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:101 | ||||
#: c-api/function.rst:102 | ||||
msgid "" | ||||
"Return the annotations of the function object *op*. This can be a mutable " | ||||
"dictionary or ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/function.rst:107 | ||||
#: c-api/function.rst:108 | ||||
msgid "" | ||||
"Set the annotations for the function object *op*. *annotations* must be a " | ||||
"dictionary or ``Py_None``." | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-11-04 18:14+0100\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -21,11 +21,11 @@ msgstr "" | |||
#: c-api/gcsupport.rst:8 | ||||
msgid "" | ||||
"Python's support for detecting and collecting garbage which involves " | ||||
"circular references requires support from object types which are \"containers" | ||||
"\" for other objects which may also be containers. Types which do not store " | ||||
"references to other objects, or which only store references to atomic types " | ||||
"(such as numbers or strings), do not need to provide any explicit support " | ||||
"for garbage collection." | ||||
"circular references requires support from object types which are " | ||||
"\"containers\" for other objects which may also be containers. Types which " | ||||
"do not store references to other objects, or which only store references to " | ||||
"atomic types (such as numbers or strings), do not need to provide any " | ||||
"explicit support for garbage collection." | ||||
msgstr "" | ||||
| ||||
#: c-api/gcsupport.rst:15 | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -270,7 +270,13 @@ msgid "" | |||
"h`, is::" | ||||
msgstr "" | ||||
| ||||
#: c-api/import.rst:264 | ||||
#: c-api/import.rst:262 | ||||
msgid "" | ||||
"The new ``is_package`` field indicates whether the module is a package or " | ||||
"not. This replaces setting the ``size`` field to a negative value." | ||||
msgstr "" | ||||
| ||||
#: c-api/import.rst:268 | ||||
msgid "" | ||||
"This pointer is initialized to point to an array of :c:type:`struct _frozen` " | ||||
"records, terminated by one whose members are all ``NULL`` or zero. When a " | ||||
| | @ -284,7 +290,7 @@ msgstr "" | |||
"tableau. Du code tiers peut jouer avec pour construire dynamiquement une " | ||||
"collection de module figés." | ||||
| ||||
#: c-api/import.rst:272 | ||||
#: c-api/import.rst:276 | ||||
msgid "" | ||||
"Add a single module to the existing table of built-in modules. This is a " | ||||
"convenience wrapper around :c:func:`PyImport_ExtendInittab`, returning " | ||||
| | @ -294,7 +300,7 @@ msgid "" | |||
"before :c:func:`Py_Initialize`." | ||||
msgstr "" | ||||
| ||||
#: c-api/import.rst:282 | ||||
#: c-api/import.rst:286 | ||||
msgid "" | ||||
"Structure describing a single entry in the list of built-in modules. Each " | ||||
"of these structures gives the name and initialization function for a module " | ||||
| | @ -304,7 +310,7 @@ msgid "" | |||
"structure is defined in :file:`Include/import.h` as::" | ||||
msgstr "" | ||||
| ||||
#: c-api/import.rst:297 | ||||
#: c-api/import.rst:301 | ||||
msgid "" | ||||
"Add a collection of modules to the table of built-in modules. The *newtab* " | ||||
"array must end with a sentinel entry which contains ``NULL`` for the :attr:" | ||||
| | @ -315,7 +321,7 @@ msgid "" | |||
"`Py_Initialize`." | ||||
msgstr "" | ||||
| ||||
#: c-api/import.rst:304 | ||||
#: c-api/import.rst:308 | ||||
msgid "" | ||||
"If Python is initialized multiple times, :c:func:`PyImport_AppendInittab` " | ||||
"or :c:func:`PyImport_ExtendInittab` must be called before each Python " | ||||
| | | |||
516 c-api/init.po
516
c-api/init.po File diff suppressed because it is too large Load diff
File diff suppressed because it is too large Load diff
251 c-api/intro.po
251
c-api/intro.po | | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -158,6 +158,95 @@ msgid "" | |||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:110 | ||||
#, fuzzy | ||||
msgid "Return the absolute value of ``x``." | ||||
msgstr "Renvoie la valeur absolue de *x*." | ||||
| ||||
#: c-api/intro.rst:116 | ||||
msgid "" | ||||
"Ask the compiler to always inline a static inline function. The compiler can " | ||||
"ignore it and decides to not inline the function." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:119 | ||||
msgid "" | ||||
"It can be used to inline performance critical static inline functions when " | ||||
"building Python in debug mode with function inlining disabled. For example, " | ||||
"MSC disables function inlining when building in debug mode." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:123 | ||||
msgid "" | ||||
"Marking blindly a static inline function with Py_ALWAYS_INLINE can result in " | ||||
"worse performances (due to increased code size for example). The compiler is " | ||||
"usually smarter than the developer for the cost/benefit analysis." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:127 | ||||
msgid "" | ||||
"If Python is :ref:`built in debug mode <debug-build>` (if the ``Py_DEBUG`` " | ||||
"macro is defined), the :c:macro:`Py_ALWAYS_INLINE` macro does nothing." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:130 | ||||
msgid "It must be specified before the function return type. Usage::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:138 | ||||
msgid "" | ||||
"Argument must be a character or an integer in the range [-128, 127] or [0, " | ||||
"255]. This macro returns ``c`` cast to an ``unsigned char``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:143 | ||||
msgid "" | ||||
"Use this for deprecated declarations. The macro must be placed before the " | ||||
"symbol name." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:232 c-api/intro.rst:250 | ||||
msgid "Example::" | ||||
msgstr "Exemple ::" | ||||
| ||||
#: c-api/intro.rst:150 | ||||
msgid "MSVC support was added." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:155 | ||||
msgid "" | ||||
"Like ``getenv(s)``, but returns ``NULL`` if :option:`-E` was passed on the " | ||||
"command line (i.e. if ``Py_IgnoreEnvironmentFlag`` is set)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:160 | ||||
msgid "Return the maximum value between ``x`` and ``y``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:166 | ||||
msgid "Return the size of a structure (``type``) ``member`` in bytes." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:172 | ||||
msgid "Return the minimum value between ``x`` and ``y``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:178 | ||||
msgid "" | ||||
"Disable inlining on a function. For example, it reduces the C stack " | ||||
"consumption: useful on LTO+PGO builds which heavily inline code (see :issue:" | ||||
"`33720`)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:182 | ||||
msgid "Usage::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:190 | ||||
msgid "" | ||||
"Convert ``x`` to a C string. E.g. ``Py_STRINGIFY(123)`` returns ``\"123\"``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:197 | ||||
msgid "" | ||||
"Use this when you have a code path that cannot be reached by design. For " | ||||
"example, in the ``default:`` clause in a ``switch`` statement for which all " | ||||
| | @ -165,20 +254,20 @@ msgid "" | |||
"where you might be tempted to put an ``assert(0)`` or ``abort()`` call." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:115 | ||||
#: c-api/intro.rst:202 | ||||
msgid "" | ||||
"In release mode, the macro helps the compiler to optimize the code, and " | ||||
"avoids a warning about unreachable code. For example, the macro is " | ||||
"implemented with ``__builtin_unreachable()`` on GCC in release mode." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:119 | ||||
#: c-api/intro.rst:206 | ||||
msgid "" | ||||
"A use for ``Py_UNREACHABLE()`` is following a call a function that never " | ||||
"returns but that is not declared :c:macro:`_Py_NO_RETURN`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:122 | ||||
#: c-api/intro.rst:209 | ||||
msgid "" | ||||
"If a code path is very unlikely code but can be reached under exceptional " | ||||
"case, this macro must not be used. For example, under low memory condition " | ||||
| | @ -187,89 +276,41 @@ msgid "" | |||
"reported to caller, :c:func:`Py_FatalError` can be used." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:132 | ||||
#, fuzzy | ||||
msgid "Return the absolute value of ``x``." | ||||
msgstr "Renvoie la valeur absolue de *x*." | ||||
| ||||
#: c-api/intro.rst:138 | ||||
msgid "Return the minimum value between ``x`` and ``y``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:144 | ||||
msgid "Return the maximum value between ``x`` and ``y``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:150 | ||||
msgid "" | ||||
"Convert ``x`` to a C string. E.g. ``Py_STRINGIFY(123)`` returns ``\"123\"``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:157 | ||||
msgid "Return the size of a structure (``type``) ``member`` in bytes." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:163 | ||||
msgid "" | ||||
"Argument must be a character or an integer in the range [-128, 127] or [0, " | ||||
"255]. This macro returns ``c`` cast to an ``unsigned char``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:168 | ||||
msgid "" | ||||
"Like ``getenv(s)``, but returns ``NULL`` if :option:`-E` was passed on the " | ||||
"command line (i.e. if ``Py_IgnoreEnvironmentFlag`` is set)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:173 | ||||
#: c-api/intro.rst:219 | ||||
msgid "" | ||||
"Use this for unused arguments in a function definition to silence compiler " | ||||
"warnings. Example: ``int func(int a, int Py_UNUSED(b)) { return a; }``." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:180 | ||||
msgid "" | ||||
"Use this for deprecated declarations. The macro must be placed before the " | ||||
"symbol name." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:198 c-api/intro.rst:216 | ||||
msgid "Example::" | ||||
msgstr "Exemple ::" | ||||
| ||||
#: c-api/intro.rst:187 | ||||
msgid "MSVC support was added." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:192 | ||||
#: c-api/intro.rst:226 | ||||
msgid "" | ||||
"Creates a variable with name ``name`` that can be used in docstrings. If " | ||||
"Python is built without docstrings, the value will be empty." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:195 | ||||
#: c-api/intro.rst:229 | ||||
msgid "" | ||||
"Use :c:macro:`PyDoc_STRVAR` for docstrings to support building Python " | ||||
"without docstrings, as specified in :pep:`7`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:210 | ||||
#: c-api/intro.rst:244 | ||||
msgid "" | ||||
"Creates a docstring for the given input string or an empty string if " | ||||
"docstrings are disabled." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:213 | ||||
#: c-api/intro.rst:247 | ||||
msgid "" | ||||
"Use :c:macro:`PyDoc_STR` in specifying docstrings to support building Python " | ||||
"without docstrings, as specified in :pep:`7`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:227 | ||||
#: c-api/intro.rst:262 | ||||
msgid "Objects, Types and Reference Counts" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:231 | ||||
#: c-api/intro.rst:266 | ||||
msgid "" | ||||
"Most Python/C API functions have one or more arguments as well as a return " | ||||
"value of type :c:type:`PyObject*`. This type is a pointer to an opaque data " | ||||
| | @ -284,7 +325,7 @@ msgid "" | |||
"objects." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:242 | ||||
#: c-api/intro.rst:277 | ||||
msgid "" | ||||
"All Python objects (even Python integers) have a :dfn:`type` and a :dfn:" | ||||
"`reference count`. An object's type determines what kind of object it is (e." | ||||
| | @ -295,11 +336,11 @@ msgid "" | |||
"a Python list." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:253 | ||||
#: c-api/intro.rst:288 | ||||
msgid "Reference Counts" | ||||
msgstr "Compteurs de références" | ||||
| ||||
#: c-api/intro.rst:255 | ||||
#: c-api/intro.rst:290 | ||||
msgid "" | ||||
"The reference count is important because today's computers have a finite " | ||||
"(and often severely limited) memory size; it counts how many different " | ||||
| | @ -313,7 +354,7 @@ msgid "" | |||
"for now, the solution is \"don't do that.\")" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:270 | ||||
#: c-api/intro.rst:305 | ||||
msgid "" | ||||
"Reference counts are always manipulated explicitly. The normal way is to " | ||||
"use the macro :c:func:`Py_INCREF` to increment an object's reference count " | ||||
| | @ -331,7 +372,7 @@ msgid "" | |||
"reference count increment is a simple operation." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:284 | ||||
#: c-api/intro.rst:319 | ||||
msgid "" | ||||
"It is not necessary to increment an object's reference count for every " | ||||
"local variable that contains a pointer to an object. In theory, the " | ||||
| | @ -348,7 +389,7 @@ msgid "" | |||
"to hold a reference to every argument for the duration of the call." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:298 | ||||
#: c-api/intro.rst:333 | ||||
msgid "" | ||||
"However, a common pitfall is to extract an object from a list and hold on to " | ||||
"it for a while without incrementing its reference count. Some other " | ||||
| | @ -359,7 +400,7 @@ msgid "" | |||
"from a :c:func:`Py_DECREF`, so almost any operation is potentially dangerous." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:306 | ||||
#: c-api/intro.rst:341 | ||||
msgid "" | ||||
"A safe approach is to always use the generic operations (functions whose " | ||||
"name begins with ``PyObject_``, ``PyNumber_``, ``PySequence_`` or " | ||||
| | @ -369,11 +410,11 @@ msgid "" | |||
"becomes second nature." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:316 | ||||
#: c-api/intro.rst:351 | ||||
msgid "Reference Count Details" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:318 | ||||
#: c-api/intro.rst:353 | ||||
msgid "" | ||||
"The reference count behavior of functions in the Python/C API is best " | ||||
"explained in terms of *ownership of references*. Ownership pertains to " | ||||
| | @ -390,7 +431,7 @@ msgid "" | |||
"`borrowed reference`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:331 | ||||
#: c-api/intro.rst:366 | ||||
msgid "" | ||||
"Conversely, when a calling function passes in a reference to an object, " | ||||
"there are two possibilities: the function *steals* a reference to the " | ||||
| | @ -399,7 +440,7 @@ msgid "" | |||
"reference, and you are not responsible for it any longer." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:341 | ||||
#: c-api/intro.rst:376 | ||||
msgid "" | ||||
"Few functions steal references; the two notable exceptions are :c:func:" | ||||
"`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a reference to " | ||||
| | @ -411,7 +452,7 @@ msgid "" | |||
"below)::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:356 | ||||
#: c-api/intro.rst:391 | ||||
msgid "" | ||||
"Here, :c:func:`PyLong_FromLong` returns a new reference which is immediately " | ||||
"stolen by :c:func:`PyTuple_SetItem`. When you want to keep using an object " | ||||
| | @ -419,7 +460,7 @@ msgid "" | |||
"another reference before calling the reference-stealing function." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:361 | ||||
#: c-api/intro.rst:396 | ||||
msgid "" | ||||
"Incidentally, :c:func:`PyTuple_SetItem` is the *only* way to set tuple " | ||||
"items; :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to " | ||||
| | @ -427,13 +468,13 @@ msgid "" | |||
"func:`PyTuple_SetItem` for tuples that you are creating yourself." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:366 | ||||
#: c-api/intro.rst:401 | ||||
msgid "" | ||||
"Equivalent code for populating a list can be written using :c:func:" | ||||
"`PyList_New` and :c:func:`PyList_SetItem`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:369 | ||||
#: c-api/intro.rst:404 | ||||
msgid "" | ||||
"However, in practice, you will rarely use these ways of creating and " | ||||
"populating a tuple or list. There's a generic function, :c:func:" | ||||
| | @ -442,7 +483,7 @@ msgid "" | |||
"be replaced by the following (which also takes care of the error checking)::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:380 | ||||
#: c-api/intro.rst:415 | ||||
msgid "" | ||||
"It is much more common to use :c:func:`PyObject_SetItem` and friends with " | ||||
"items whose references you are only borrowing, like arguments that were " | ||||
| | @ -453,7 +494,7 @@ msgid "" | |||
"sequence) to a given item::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:410 | ||||
#: c-api/intro.rst:445 | ||||
msgid "" | ||||
"The situation is slightly different for function return values. While " | ||||
"passing a reference to most functions does not change your ownership " | ||||
| | @ -466,7 +507,7 @@ msgid "" | |||
"becomes the owner of the reference)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:419 | ||||
#: c-api/intro.rst:454 | ||||
msgid "" | ||||
"It is important to realize that whether you own a reference returned by a " | ||||
"function depends on which function you call only --- *the plumage* (the type " | ||||
| | @ -477,18 +518,18 @@ msgid "" | |||
"the same arguments), you do own a reference to the returned object." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:431 | ||||
#: c-api/intro.rst:466 | ||||
msgid "" | ||||
"Here is an example of how you could write a function that computes the sum " | ||||
"of the items in a list of integers; once using :c:func:`PyList_GetItem`, " | ||||
"and once using :c:func:`PySequence_GetItem`. ::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:495 | ||||
#: c-api/intro.rst:530 | ||||
msgid "Types" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:497 | ||||
#: c-api/intro.rst:532 | ||||
msgid "" | ||||
"There are few other data types that play a significant role in the Python/C " | ||||
"API; most are simple C types such as :c:type:`int`, :c:type:`long`, :c:type:" | ||||
| | @ -499,11 +540,11 @@ msgid "" | |||
"that use them." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:509 | ||||
#: c-api/intro.rst:544 | ||||
msgid "Exceptions" | ||||
msgstr "Exceptions" | ||||
| ||||
#: c-api/intro.rst:511 | ||||
#: c-api/intro.rst:546 | ||||
msgid "" | ||||
"The Python programmer only needs to deal with exceptions if specific error " | ||||
"handling is required; unhandled exceptions are automatically propagated to " | ||||
| | @ -512,7 +553,7 @@ msgid "" | |||
"stack traceback." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:519 | ||||
#: c-api/intro.rst:554 | ||||
msgid "" | ||||
"For C programmers, however, error checking always has to be explicit. All " | ||||
"functions in the Python/C API can raise exceptions, unless an explicit claim " | ||||
| | @ -527,7 +568,7 @@ msgid "" | |||
"explicitly documented." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:534 | ||||
#: c-api/intro.rst:569 | ||||
msgid "" | ||||
"Exception state is maintained in per-thread storage (this is equivalent to " | ||||
"using global storage in an unthreaded application). A thread can be in one " | ||||
| | @ -540,7 +581,7 @@ msgid "" | |||
"clears the exception state." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:544 | ||||
#: c-api/intro.rst:579 | ||||
msgid "" | ||||
"The full exception state consists of three objects (all of which can be " | ||||
"``NULL``): the exception type, the corresponding exception value, and the " | ||||
| | @ -553,7 +594,7 @@ msgid "" | |||
"``sys.exc_info()`` and friends." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:556 | ||||
#: c-api/intro.rst:591 | ||||
msgid "" | ||||
"Note that starting with Python 1.5, the preferred, thread-safe way to access " | ||||
"the exception state from Python code is to call the function :func:`sys." | ||||
| | @ -567,7 +608,7 @@ msgid "" | |||
"referenced by the stack frames in the traceback." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:567 | ||||
#: c-api/intro.rst:602 | ||||
msgid "" | ||||
"As a general principle, a function that calls another function to perform " | ||||
"some task should check whether the called function raised an exception, and " | ||||
| | @ -578,7 +619,7 @@ msgid "" | |||
"of the error." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:576 | ||||
#: c-api/intro.rst:611 | ||||
msgid "" | ||||
"A simple example of detecting exceptions and passing them on is shown in " | ||||
"the :c:func:`sum_sequence` example above. It so happens that this example " | ||||
| | @ -587,11 +628,11 @@ msgid "" | |||
"why you like Python, we show the equivalent Python code::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:591 | ||||
#: c-api/intro.rst:626 | ||||
msgid "Here is the corresponding C code, in all its glory::" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:643 | ||||
#: c-api/intro.rst:678 | ||||
msgid "" | ||||
"This example represents an endorsed use of the ``goto`` statement in C! It " | ||||
"illustrates the use of :c:func:`PyErr_ExceptionMatches` and :c:func:" | ||||
| | @ -604,11 +645,11 @@ msgid "" | |||
"success after the final call made is successful." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:657 | ||||
#: c-api/intro.rst:692 | ||||
msgid "Embedding Python" | ||||
msgstr "Embarquer Python" | ||||
| ||||
#: c-api/intro.rst:659 | ||||
#: c-api/intro.rst:694 | ||||
msgid "" | ||||
"The one important task that only embedders (as opposed to extension writers) " | ||||
"of the Python interpreter have to worry about is the initialization, and " | ||||
| | @ -616,7 +657,7 @@ msgid "" | |||
"the interpreter can only be used after the interpreter has been initialized." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:672 | ||||
#: c-api/intro.rst:707 | ||||
msgid "" | ||||
"The basic initialization function is :c:func:`Py_Initialize`. This " | ||||
"initializes the table of loaded modules, and creates the fundamental " | ||||
| | @ -624,7 +665,7 @@ msgid "" | |||
"initializes the module search path (``sys.path``)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:679 | ||||
#: c-api/intro.rst:714 | ||||
msgid "" | ||||
":c:func:`Py_Initialize` does not set the \"script argument list\" (``sys." | ||||
"argv``). If this variable is needed by Python code that will be executed " | ||||
| | @ -632,7 +673,7 @@ msgid "" | |||
"argv, updatepath)`` after the call to :c:func:`Py_Initialize`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:684 | ||||
#: c-api/intro.rst:719 | ||||
msgid "" | ||||
"On most systems (in particular, on Unix and Windows, although the details " | ||||
"are slightly different), :c:func:`Py_Initialize` calculates the module " | ||||
| | @ -644,7 +685,7 @@ msgid "" | |||
"on the shell command search path (the environment variable :envvar:`PATH`)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:693 | ||||
#: c-api/intro.rst:728 | ||||
msgid "" | ||||
"For instance, if the Python executable is found in :file:`/usr/local/bin/" | ||||
"python`, it will assume that the libraries are in :file:`/usr/local/lib/" | ||||
| | @ -655,7 +696,7 @@ msgid "" | |||
"in front of the standard path by setting :envvar:`PYTHONPATH`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:708 | ||||
#: c-api/intro.rst:743 | ||||
msgid "" | ||||
"The embedding application can steer the search by calling " | ||||
"``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note " | ||||
| | @ -666,7 +707,7 @@ msgid "" | |||
"func:`Py_GetProgramFullPath` (all defined in :file:`Modules/getpath.c`)." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:718 | ||||
#: c-api/intro.rst:753 | ||||
msgid "" | ||||
"Sometimes, it is desirable to \"uninitialize\" Python. For instance, the " | ||||
"application may want to start over (make another call to :c:func:" | ||||
| | @ -680,18 +721,18 @@ msgid "" | |||
"released." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:732 | ||||
#: c-api/intro.rst:767 | ||||
msgid "Debugging Builds" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:734 | ||||
#: c-api/intro.rst:769 | ||||
msgid "" | ||||
"Python can be built with several macros to enable extra checks of the " | ||||
"interpreter and extension modules. These checks tend to add a large amount " | ||||
"of overhead to the runtime so they are not enabled by default." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:738 | ||||
#: c-api/intro.rst:773 | ||||
msgid "" | ||||
"A full list of the various types of debugging builds is in the file :file:" | ||||
"`Misc/SpecialBuilds.txt` in the Python source distribution. Builds are " | ||||
| | @ -701,7 +742,7 @@ msgid "" | |||
"section." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:744 | ||||
#: c-api/intro.rst:779 | ||||
msgid "" | ||||
"Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined " | ||||
"produces what is generally meant by :ref:`a debug build of Python <debug-" | ||||
| | @ -712,13 +753,13 @@ msgid "" | |||
"disabled." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:752 | ||||
#: c-api/intro.rst:787 | ||||
msgid "" | ||||
"In addition to the reference count debugging described below, extra checks " | ||||
"are performed, see :ref:`Python Debug Build <debug-build>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:755 | ||||
#: c-api/intro.rst:790 | ||||
msgid "" | ||||
"Defining :c:macro:`Py_TRACE_REFS` enables reference tracing (see the :option:" | ||||
"`configure --with-trace-refs option <--with-trace-refs>`). When defined, a " | ||||
| | @ -728,7 +769,7 @@ msgid "" | |||
"this happens after every statement run by the interpreter.)" | ||||
msgstr "" | ||||
| ||||
#: c-api/intro.rst:762 | ||||
#: c-api/intro.rst:797 | ||||
msgid "" | ||||
"Please refer to :file:`Misc/SpecialBuilds.txt` in the Python source " | ||||
"distribution for more detailed information." | ||||
| | | |||
142 c-api/memory.po
142
c-api/memory.po | | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -548,19 +548,19 @@ msgid "" | |||
"fields:" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:626 | ||||
#: c-api/memory.rst:628 | ||||
msgid "Field" | ||||
msgstr "Champ" | ||||
| ||||
#: c-api/memory.rst:626 | ||||
#: c-api/memory.rst:628 | ||||
msgid "Meaning" | ||||
msgstr "Signification" | ||||
| ||||
#: c-api/memory.rst:628 | ||||
#: c-api/memory.rst:630 | ||||
msgid "``void *ctx``" | ||||
msgstr "``void *ctx``" | ||||
| ||||
#: c-api/memory.rst:628 | ||||
#: c-api/memory.rst:630 | ||||
msgid "user context passed as first argument" | ||||
msgstr "" | ||||
| ||||
| | @ -693,17 +693,23 @@ msgid "" | |||
"debug hooks on top on the new allocator." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:482 | ||||
#: c-api/memory.rst:479 | ||||
msgid "" | ||||
"See also :c:member:`PyPreConfig.allocator` and :ref:`Preinitialize Python " | ||||
"with PyPreConfig <c-preinit>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:484 | ||||
msgid "" | ||||
"Setup :ref:`debug hooks in the Python memory allocators <pymem-debug-hooks>` " | ||||
"to detect memory errors." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:489 | ||||
#: c-api/memory.rst:491 | ||||
msgid "Debug hooks on the Python memory allocators" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:491 | ||||
#: c-api/memory.rst:493 | ||||
msgid "" | ||||
"When :ref:`Python is built in debug mode <debug-build>`, the :c:func:" | ||||
"`PyMem_SetupDebugHooks` function is called at the :ref:`Python " | ||||
| | @ -711,19 +717,19 @@ msgid "" | |||
"allocators to detect memory errors." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:496 | ||||
#: c-api/memory.rst:498 | ||||
msgid "" | ||||
"The :envvar:`PYTHONMALLOC` environment variable can be used to install debug " | ||||
"hooks on a Python compiled in release mode (ex: ``PYTHONMALLOC=debug``)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:499 | ||||
#: c-api/memory.rst:501 | ||||
msgid "" | ||||
"The :c:func:`PyMem_SetupDebugHooks` function can be used to set debug hooks " | ||||
"after calling :c:func:`PyMem_SetAllocator`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:502 | ||||
#: c-api/memory.rst:504 | ||||
msgid "" | ||||
"These debug hooks fill dynamically allocated memory blocks with special, " | ||||
"recognizable bit patterns. Newly allocated memory is filled with the byte " | ||||
| | @ -733,32 +739,32 @@ msgid "" | |||
"these bytes are unlikely to be valid addresses, floats, or ASCII strings." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:509 | ||||
#: c-api/memory.rst:511 | ||||
msgid "Runtime checks:" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:511 | ||||
#: c-api/memory.rst:513 | ||||
msgid "" | ||||
"Detect API violations. For example, detect if :c:func:`PyObject_Free` is " | ||||
"called on a memory block allocated by :c:func:`PyMem_Malloc`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:513 | ||||
#: c-api/memory.rst:515 | ||||
msgid "Detect write before the start of the buffer (buffer underflow)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:514 | ||||
#: c-api/memory.rst:516 | ||||
msgid "Detect write after the end of the buffer (buffer overflow)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:515 | ||||
#: c-api/memory.rst:517 | ||||
msgid "" | ||||
"Check that the :term:`GIL <global interpreter lock>` is held when allocator " | ||||
"functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and :" | ||||
"c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:520 | ||||
#: c-api/memory.rst:522 | ||||
msgid "" | ||||
"On error, the debug hooks use the :mod:`tracemalloc` module to get the " | ||||
"traceback where a memory block was allocated. The traceback is only " | ||||
| | @ -766,59 +772,59 @@ msgid "" | |||
"memory block was traced." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:525 | ||||
#: c-api/memory.rst:527 | ||||
msgid "" | ||||
"Let *S* = ``sizeof(size_t)``. ``2*S`` bytes are added at each end of each " | ||||
"block of *N* bytes requested. The memory layout is like so, where p " | ||||
"represents the address returned by a malloc-like or realloc-like function " | ||||
"(``p[i:j]`` means the slice of bytes from ``*(p+i)`` inclusive up to ``*(p" | ||||
"+j)`` exclusive; note that the treatment of negative indices differs from a " | ||||
"Python slice):" | ||||
"(``p[i:j]`` means the slice of bytes from ``*(p+i)`` inclusive up to " | ||||
"``*(p+j)`` exclusive; note that the treatment of negative indices differs " | ||||
"from a Python slice):" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:532 | ||||
#: c-api/memory.rst:534 | ||||
msgid "``p[-2*S:-S]``" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:532 | ||||
#: c-api/memory.rst:534 | ||||
msgid "" | ||||
"Number of bytes originally asked for. This is a size_t, big-endian (easier " | ||||
"to read in a memory dump)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:539 | ||||
#: c-api/memory.rst:541 | ||||
msgid "``p[-S]``" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:535 | ||||
#: c-api/memory.rst:537 | ||||
msgid "API identifier (ASCII character):" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:537 | ||||
#: c-api/memory.rst:539 | ||||
msgid "``'r'`` for :c:data:`PYMEM_DOMAIN_RAW`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:538 | ||||
#: c-api/memory.rst:540 | ||||
msgid "``'m'`` for :c:data:`PYMEM_DOMAIN_MEM`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:539 | ||||
#: c-api/memory.rst:541 | ||||
msgid "``'o'`` for :c:data:`PYMEM_DOMAIN_OBJ`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:542 | ||||
#: c-api/memory.rst:544 | ||||
msgid "``p[-S+1:0]``" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:542 | ||||
#: c-api/memory.rst:544 | ||||
msgid "Copies of PYMEM_FORBIDDENBYTE. Used to catch under- writes and reads." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:551 | ||||
#: c-api/memory.rst:553 | ||||
msgid "``p[0:N]``" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:545 | ||||
#: c-api/memory.rst:547 | ||||
msgid "" | ||||
"The requested memory, filled with copies of PYMEM_CLEANBYTE, used to catch " | ||||
"reference to uninitialized memory. When a realloc-like function is called " | ||||
| | @ -829,25 +835,25 @@ msgid "" | |||
"bytes are also filled with PYMEM_DEADBYTE." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:554 | ||||
#: c-api/memory.rst:556 | ||||
msgid "``p[N:N+S]``" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:554 | ||||
#: c-api/memory.rst:556 | ||||
msgid "Copies of PYMEM_FORBIDDENBYTE. Used to catch over- writes and reads." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:565 | ||||
#: c-api/memory.rst:567 | ||||
msgid "``p[N+S:N+2*S]``" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:557 | ||||
#: c-api/memory.rst:559 | ||||
msgid "" | ||||
"Only used if the ``PYMEM_DEBUG_SERIALNO`` macro is defined (not defined by " | ||||
"default)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:560 | ||||
#: c-api/memory.rst:562 | ||||
msgid "" | ||||
"A serial number, incremented by 1 on each call to a malloc-like or realloc-" | ||||
"like function. Big-endian ``size_t``. If \"bad memory\" is detected later, " | ||||
| | @ -857,7 +863,7 @@ msgid "" | |||
"incremented, and exists so you can set such a breakpoint easily." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:567 | ||||
#: c-api/memory.rst:569 | ||||
msgid "" | ||||
"A realloc-like or free-like function first checks that the " | ||||
"PYMEM_FORBIDDENBYTE bytes at each end are intact. If they've been altered, " | ||||
| | @ -870,7 +876,7 @@ msgid "" | |||
"getting used)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:576 | ||||
#: c-api/memory.rst:578 | ||||
msgid "" | ||||
"The :c:func:`PyMem_SetupDebugHooks` function now also works on Python " | ||||
"compiled in release mode. On error, the debug hooks now use :mod:" | ||||
| | @ -879,7 +885,7 @@ msgid "" | |||
"`PYMEM_DOMAIN_OBJ` and :c:data:`PYMEM_DOMAIN_MEM` domains are called." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:584 | ||||
#: c-api/memory.rst:586 | ||||
msgid "" | ||||
"Byte patterns ``0xCB`` (``PYMEM_CLEANBYTE``), ``0xDB`` (``PYMEM_DEADBYTE``) " | ||||
"and ``0xFB`` (``PYMEM_FORBIDDENBYTE``) have been replaced with ``0xCD``, " | ||||
| | @ -887,11 +893,11 @@ msgid "" | |||
"``malloc()`` and ``free()``." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:594 | ||||
#: c-api/memory.rst:596 | ||||
msgid "The pymalloc allocator" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:596 | ||||
#: c-api/memory.rst:598 | ||||
msgid "" | ||||
"Python has a *pymalloc* allocator optimized for small objects (smaller or " | ||||
"equal to 512 bytes) with a short lifetime. It uses memory mappings called " | ||||
| | @ -900,115 +906,115 @@ msgid "" | |||
"512 bytes." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:601 | ||||
#: c-api/memory.rst:603 | ||||
msgid "" | ||||
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of " | ||||
"the :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and :c:data:" | ||||
"`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:605 | ||||
#: c-api/memory.rst:607 | ||||
msgid "The arena allocator uses the following functions:" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:607 | ||||
#: c-api/memory.rst:609 | ||||
msgid ":c:func:`VirtualAlloc` and :c:func:`VirtualFree` on Windows," | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:608 | ||||
#: c-api/memory.rst:610 | ||||
msgid ":c:func:`mmap` and :c:func:`munmap` if available," | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:609 | ||||
#: c-api/memory.rst:611 | ||||
msgid ":c:func:`malloc` and :c:func:`free` otherwise." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:611 | ||||
#: c-api/memory.rst:613 | ||||
msgid "" | ||||
"This allocator is disabled if Python is configured with the :option:`--" | ||||
"without-pymalloc` option. It can also be disabled at runtime using the :" | ||||
"envvar:`PYTHONMALLOC` environment variable (ex: ``PYTHONMALLOC=malloc``)." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:616 | ||||
#: c-api/memory.rst:618 | ||||
msgid "Customize pymalloc Arena Allocator" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:622 | ||||
#: c-api/memory.rst:624 | ||||
msgid "" | ||||
"Structure used to describe an arena allocator. The structure has three " | ||||
"fields:" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:630 | ||||
#: c-api/memory.rst:632 | ||||
msgid "``void* alloc(void *ctx, size_t size)``" | ||||
msgstr "``void* alloc(void *ctx, size_t size)``" | ||||
| ||||
#: c-api/memory.rst:630 | ||||
#: c-api/memory.rst:632 | ||||
msgid "allocate an arena of size bytes" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:632 | ||||
#: c-api/memory.rst:634 | ||||
#, fuzzy | ||||
msgid "``void free(void *ctx, void *ptr, size_t size)``" | ||||
msgstr "``void free(void *ctx, void *ptr)``" | ||||
| ||||
#: c-api/memory.rst:632 | ||||
#: c-api/memory.rst:634 | ||||
msgid "free an arena" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:637 | ||||
#: c-api/memory.rst:639 | ||||
msgid "Get the arena allocator." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:641 | ||||
#: c-api/memory.rst:643 | ||||
msgid "Set the arena allocator." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:645 | ||||
#: c-api/memory.rst:647 | ||||
msgid "tracemalloc C API" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:651 | ||||
#: c-api/memory.rst:653 | ||||
msgid "Track an allocated memory block in the :mod:`tracemalloc` module." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:653 | ||||
#: c-api/memory.rst:655 | ||||
msgid "" | ||||
"Return ``0`` on success, return ``-1`` on error (failed to allocate memory " | ||||
"to store the trace). Return ``-2`` if tracemalloc is disabled." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:656 | ||||
#: c-api/memory.rst:658 | ||||
msgid "If memory block is already tracked, update the existing trace." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:660 | ||||
#: c-api/memory.rst:662 | ||||
msgid "" | ||||
"Untrack an allocated memory block in the :mod:`tracemalloc` module. Do " | ||||
"nothing if the block was not tracked." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:663 | ||||
#: c-api/memory.rst:665 | ||||
msgid "Return ``-2`` if tracemalloc is disabled, otherwise return ``0``." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:669 | ||||
#: c-api/memory.rst:671 | ||||
msgid "Examples" | ||||
msgstr "Exemples" | ||||
| ||||
#: c-api/memory.rst:671 | ||||
#: c-api/memory.rst:673 | ||||
msgid "" | ||||
"Here is the example from section :ref:`memoryoverview`, rewritten so that " | ||||
"the I/O buffer is allocated from the Python heap by using the first function " | ||||
"set::" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:684 | ||||
#: c-api/memory.rst:686 | ||||
msgid "The same code using the type-oriented function set::" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:696 | ||||
#: c-api/memory.rst:698 | ||||
msgid "" | ||||
"Note that in the two examples above, the buffer is always manipulated via " | ||||
"functions belonging to the same set. Indeed, it is required to use the same " | ||||
| | @ -1018,14 +1024,14 @@ msgid "" | |||
"different allocators operating on different heaps. ::" | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:711 | ||||
#: c-api/memory.rst:713 | ||||
msgid "" | ||||
"In addition to the functions aimed at handling raw memory blocks from the " | ||||
"Python heap, objects in Python are allocated and released with :c:func:" | ||||
"`PyObject_New`, :c:func:`PyObject_NewVar` and :c:func:`PyObject_Del`." | ||||
msgstr "" | ||||
| ||||
#: c-api/memory.rst:715 | ||||
#: c-api/memory.rst:717 | ||||
msgid "" | ||||
"These will be explained in the next chapter on defining and implementing new " | ||||
"object types in C." | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2019-08-16 22:56+0200\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -118,7 +118,7 @@ msgstr "" | |||
"attributs d'instance, contrairement aux autres descripteurs. Sinon, une :exc:" | ||||
"`AttributeError` est levée." | ||||
| ||||
#: c-api/object.rst:90 | ||||
#: c-api/object.rst:91 | ||||
msgid "" | ||||
"Set the value of the attribute named *attr_name*, for object *o*, to the " | ||||
"value *v*. Raise an exception and return ``-1`` on failure; return ``0`` on " | ||||
| | @ -132,13 +132,14 @@ msgstr "" | |||
#: c-api/object.rst:84 | ||||
#, fuzzy | ||||
msgid "" | ||||
"If *v* is ``NULL``, the attribute is deleted, however this feature is " | ||||
"deprecated in favour of using :c:func:`PyObject_DelAttr`." | ||||
"If *v* is ``NULL``, the attribute is deleted. This behaviour is deprecated " | ||||
"in favour of using :c:func:`PyObject_DelAttr`, but there are currently no " | ||||
"plans to remove it." | ||||
msgstr "" | ||||
"Si *v* est *NULL*, l'attribut est supprimé. Cette fonctionnalité est " | ||||
"obsolète,nous vous conseillons d'utiliser :c:func:`PyObject_DelAttr`." | ||||
| ||||
#: c-api/object.rst:95 | ||||
#: c-api/object.rst:96 | ||||
#, fuzzy | ||||
msgid "" | ||||
"If *v* is ``NULL``, the attribute is deleted, however this feature is " | ||||
| | @ -147,7 +148,7 @@ msgstr "" | |||
"Si *v* est *NULL*, l'attribut est supprimé. Cette fonctionnalité est " | ||||
"obsolète, nous vous conseillons d'utiliser :c:func:`PyObject_DelAttr`." | ||||
| ||||
#: c-api/object.rst:101 | ||||
#: c-api/object.rst:102 | ||||
msgid "" | ||||
"Generic attribute setter and deleter function that is meant to be put into a " | ||||
"type object's :c:member:`~PyTypeObject.tp_setattro` slot. It looks for a " | ||||
| | @ -167,7 +168,7 @@ msgstr "" | |||
"attr:`~object.__dict__` de l'objet (si présent). En cas de succès, ``0`` est " | ||||
"renvoyé, sinon une :exc:`AttributeError` est levée et ``-1`` est renvoyé." | ||||
| ||||
#: c-api/object.rst:119 | ||||
#: c-api/object.rst:120 | ||||
msgid "" | ||||
"Delete attribute named *attr_name*, for object *o*. Returns ``-1`` on " | ||||
"failure. This is the equivalent of the Python statement ``del o.attr_name``." | ||||
| | @ -176,7 +177,7 @@ msgstr "" | |||
"cas d'échec. Ceci est l'équivalent de l'expression Python ``del o." | ||||
"attr_name``." | ||||
| ||||
#: c-api/object.rst:125 | ||||
#: c-api/object.rst:126 | ||||
msgid "" | ||||
"A generic implementation for the getter of a ``__dict__`` descriptor. It " | ||||
"creates the dictionary if necessary." | ||||
| | @ -184,7 +185,7 @@ msgstr "" | |||
"Une implémentation générique de l'accesseur d'un descripteur d'un " | ||||
"``__dict__``. Crée le dictionnaire si nécessaire." | ||||
| ||||
#: c-api/object.rst:133 | ||||
#: c-api/object.rst:134 | ||||
msgid "" | ||||
"A generic implementation for the setter of a ``__dict__`` descriptor. This " | ||||
"implementation does not allow the dictionary to be deleted." | ||||
| | @ -192,7 +193,7 @@ msgstr "" | |||
"Une implémentation générique du mutateur d'un descripteur de ``__dict__``. " | ||||
"Cette implémentation n'autorise pas la suppression du dictionnaire." | ||||
| ||||
#: c-api/object.rst:141 | ||||
#: c-api/object.rst:142 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Compare the values of *o1* and *o2* using the operation specified by *opid*, " | ||||
| | @ -211,7 +212,7 @@ msgstr "" | |||
"*opid*. Renvoie la valeur de la comparaison en cas de succès, ou *NULL* en " | ||||
"cas d'échec." | ||||
| ||||
#: c-api/object.rst:151 | ||||
#: c-api/object.rst:152 | ||||
msgid "" | ||||
"Compare the values of *o1* and *o2* using the operation specified by *opid*, " | ||||
"which must be one of :const:`Py_LT`, :const:`Py_LE`, :const:`Py_EQ`, :const:" | ||||
| | @ -229,7 +230,7 @@ msgstr "" | |||
"l'équivalent de l'expression Python ``o1 op o2``, où ``op`` est l'opérateur " | ||||
"correspondant à *opid*." | ||||
| ||||
#: c-api/object.rst:160 | ||||
#: c-api/object.rst:161 | ||||
msgid "" | ||||
"If *o1* and *o2* are the same object, :c:func:`PyObject_RichCompareBool` " | ||||
"will always return ``1`` for :const:`Py_EQ` and ``0`` for :const:`Py_NE`." | ||||
| | @ -237,7 +238,7 @@ msgstr "" | |||
"Si *o1* et *o2* sont le même objet, :c:func:`PyObject_RichCompareBool` " | ||||
"renvoie toujours ``1`` pour :const:`Py_EQ` et ``0`` pour :const:`Py_NE`." | ||||
| ||||
#: c-api/object.rst:167 | ||||
#: c-api/object.rst:168 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Compute a string representation of object *o*. Returns the string " | ||||
| | @ -250,7 +251,7 @@ msgstr "" | |||
"d'échec. Ceci est l'équivalent de l'expression Python ``repr(o)``. Appelé " | ||||
"par la fonction native :func:`repr`." | ||||
| ||||
#: c-api/object.rst:195 | ||||
#: c-api/object.rst:196 | ||||
msgid "" | ||||
"This function now includes a debug assertion to help ensure that it does not " | ||||
"silently discard an active exception." | ||||
| | @ -258,7 +259,7 @@ msgstr "" | |||
"Cette fonction inclut maintenant une assertion de débogage afin d'assurer " | ||||
"qu'elle ne passe pas sous silence une exception active." | ||||
| ||||
#: c-api/object.rst:179 | ||||
#: c-api/object.rst:180 | ||||
msgid "" | ||||
"As :c:func:`PyObject_Repr`, compute a string representation of object *o*, " | ||||
"but escape the non-ASCII characters in the string returned by :c:func:" | ||||
| | @ -268,12 +269,12 @@ msgid "" | |||
msgstr "" | ||||
"Comme :c:Func:`PyObject_Repr`, calcule une représentation en chaîne de " | ||||
"caractères de l'objet *o*, mais échappe les caractères non ASCII dans la " | ||||
"chaîne de caractères renvoyée par :c:Func:`PyObject_Repr` avec' ``\\x``, ``" | ||||
"\\u`` ou ``\\U``. Cela génère une chaîne de caractères similaire à celle " | ||||
"chaîne de caractères renvoyée par :c:Func:`PyObject_Repr` avec' ``\\x``, " | ||||
"``\\u`` ou ``\\U``. Cela génère une chaîne de caractères similaire à celle " | ||||
"renvoyée par :c:func:`PyObject_Repr` en Python 2. Appelée par la fonction " | ||||
"native :func:`ascii`." | ||||
| ||||
#: c-api/object.rst:190 | ||||
#: c-api/object.rst:191 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Compute a string representation of object *o*. Returns the string " | ||||
| | @ -287,7 +288,7 @@ msgstr "" | |||
"par la fonction native :func:`str`, et, par conséquent, par la fonction :" | ||||
"func:`print`." | ||||
| ||||
#: c-api/object.rst:204 | ||||
#: c-api/object.rst:205 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Compute a bytes representation of object *o*. ``NULL`` is returned on " | ||||
| | @ -302,7 +303,7 @@ msgstr "" | |||
"entier. Contrairement à ``bytes(o)``, une exception *TypeError* est levée " | ||||
"lorsque *o* est un entier au lieu d'un objet octet initialisé avec des zéros." | ||||
| ||||
#: c-api/object.rst:213 | ||||
#: c-api/object.rst:214 | ||||
msgid "" | ||||
"Return ``1`` if the class *derived* is identical to or derived from the " | ||||
"class *cls*, otherwise return ``0``. In case of an error, return ``-1``." | ||||
| | @ -310,7 +311,7 @@ msgstr "" | |||
"Renvoie ``1`` si la classe *derived* est identique à ou dérivée de la classe " | ||||
"*cls*, renvoie ``0`` sinon. En cas d'erreur, renvoie ``-1``." | ||||
| ||||
#: c-api/object.rst:235 | ||||
#: c-api/object.rst:236 | ||||
msgid "" | ||||
"If *cls* is a tuple, the check will be done against every entry in *cls*. " | ||||
"The result will be ``1`` when at least one of the checks returns ``1``, " | ||||
| | @ -320,7 +321,7 @@ msgstr "" | |||
"*cls*. Le résultat sera ``1`` quand au moins une des vérifications renvoie " | ||||
"``1``, sinon ce sera ``0``." | ||||
| ||||
#: c-api/object.rst:220 | ||||
#: c-api/object.rst:221 | ||||
msgid "" | ||||
"If *cls* has a :meth:`~class.__subclasscheck__` method, it will be called to " | ||||
"determine the subclass status as described in :pep:`3119`. Otherwise, " | ||||
| | @ -332,7 +333,7 @@ msgstr "" | |||
"Sinon, *derived* est une sous-classe de *cls* si c'est une sous-classe " | ||||
"directe ou indirecte, c'est-à-dire contenue dans ``cls.__mro__``." | ||||
| ||||
#: c-api/object.rst:225 | ||||
#: c-api/object.rst:226 | ||||
msgid "" | ||||
"Normally only class objects, i.e. instances of :class:`type` or a derived " | ||||
"class, are considered classes. However, objects can override this by having " | ||||
| | @ -343,7 +344,7 @@ msgstr "" | |||
"les objets peuvent surcharger cela en ayant un attribut :attr:`__bases__` " | ||||
"(qui doit être un *n*-uplet de classes de bases)." | ||||
| ||||
#: c-api/object.rst:232 | ||||
#: c-api/object.rst:233 | ||||
msgid "" | ||||
"Return ``1`` if *inst* is an instance of the class *cls* or a subclass of " | ||||
"*cls*, or ``0`` if not. On error, returns ``-1`` and sets an exception." | ||||
| | @ -352,7 +353,7 @@ msgstr "" | |||
"classe de *cls*, ou ``0`` sinon. En cas d'erreur, renvoie ``-1`` et " | ||||
"initialise une exception." | ||||
| ||||
#: c-api/object.rst:239 | ||||
#: c-api/object.rst:240 | ||||
msgid "" | ||||
"If *cls* has a :meth:`~class.__instancecheck__` method, it will be called to " | ||||
"determine the subclass status as described in :pep:`3119`. Otherwise, " | ||||
| | @ -363,7 +364,7 @@ msgstr "" | |||
"Sinon, *inst* est une instance *cls* si sa classe est une sous-classe de " | ||||
"*cls*." | ||||
| ||||
#: c-api/object.rst:243 | ||||
#: c-api/object.rst:244 | ||||
msgid "" | ||||
"An instance *inst* can override what is considered its class by having a :" | ||||
"attr:`__class__` attribute." | ||||
| | @ -371,7 +372,7 @@ msgstr "" | |||
"Une instance *inst* peut surcharger ce qui est considéré comme sa classe en " | ||||
"ayant un attribut :attr:`__class__`." | ||||
| ||||
#: c-api/object.rst:246 | ||||
#: c-api/object.rst:247 | ||||
msgid "" | ||||
"An object *cls* can override if it is considered a class, and what its base " | ||||
"classes are, by having a :attr:`__bases__` attribute (which must be a tuple " | ||||
| | @ -381,19 +382,19 @@ msgstr "" | |||
"que ses classes de bases sont, en ayant un attribut :attr:`__bases__` (qui " | ||||
"doit être un *n*-uplet des classes de base)." | ||||
| ||||
#: c-api/object.rst:255 | ||||
#: c-api/object.rst:256 | ||||
msgid "" | ||||
"Compute and return the hash value of an object *o*. On failure, return " | ||||
"``-1``. This is the equivalent of the Python expression ``hash(o)``." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:258 | ||||
#: c-api/object.rst:259 | ||||
msgid "" | ||||
"The return type is now Py_hash_t. This is a signed integer the same size as " | ||||
"Py_ssize_t." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:265 | ||||
#: c-api/object.rst:266 | ||||
msgid "" | ||||
"Set a :exc:`TypeError` indicating that ``type(o)`` is not hashable and " | ||||
"return ``-1``. This function receives special treatment when stored in a " | ||||
| | @ -401,21 +402,21 @@ msgid "" | |||
"that it is not hashable." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:273 | ||||
#: c-api/object.rst:274 | ||||
msgid "" | ||||
"Returns ``1`` if the object *o* is considered to be true, and ``0`` " | ||||
"otherwise. This is equivalent to the Python expression ``not not o``. On " | ||||
"failure, return ``-1``." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:280 | ||||
#: c-api/object.rst:281 | ||||
msgid "" | ||||
"Returns ``0`` if the object *o* is considered to be true, and ``1`` " | ||||
"otherwise. This is equivalent to the Python expression ``not o``. On " | ||||
"failure, return ``-1``." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:289 | ||||
#: c-api/object.rst:290 | ||||
msgid "" | ||||
"When *o* is non-``NULL``, returns a type object corresponding to the object " | ||||
"type of object *o*. On failure, raises :exc:`SystemError` and returns " | ||||
| | @ -426,13 +427,13 @@ msgid "" | |||
"when the incremented reference count is needed." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:300 | ||||
#: c-api/object.rst:301 | ||||
msgid "" | ||||
"Return non-zero if the object *o* is of type *type* or a subtype of *type*, " | ||||
"and ``0`` otherwise. Both parameters must be non-``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:309 | ||||
#: c-api/object.rst:310 | ||||
msgid "" | ||||
"Return the length of object *o*. If the object *o* provides either the " | ||||
"sequence and mapping protocols, the sequence length is returned. On error, " | ||||
| | @ -440,7 +441,7 @@ msgid "" | |||
"``len(o)``." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:316 | ||||
#: c-api/object.rst:317 | ||||
msgid "" | ||||
"Return an estimated length for the object *o*. First try to return its " | ||||
"actual length, then an estimate using :meth:`~object.__length_hint__`, and " | ||||
| | @ -449,7 +450,7 @@ msgid "" | |||
"defaultvalue)``." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:326 | ||||
#: c-api/object.rst:327 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Return element of *o* corresponding to the object *key* or ``NULL`` on " | ||||
| | @ -459,7 +460,7 @@ msgstr "" | |||
"l'attribut en cas de succès, ou *NULL* en cas d'échec. Ceci est équivalent à " | ||||
"l'expression Python ``o.attr_name``." | ||||
| ||||
#: c-api/object.rst:332 | ||||
#: c-api/object.rst:333 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Map the object *key* to the value *v*. Raise an exception and return ``-1`` " | ||||
| | @ -471,7 +472,7 @@ msgstr "" | |||
"``0`` en cas de succès. Ceci est équivalent à l'instruction Python ``o." | ||||
"attr_name = v``." | ||||
| ||||
#: c-api/object.rst:340 | ||||
#: c-api/object.rst:341 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` " | ||||
| | @ -481,7 +482,7 @@ msgstr "" | |||
"Renvoie ``-1`` en cas d'échec. C'est l'équivalent de la commande Python " | ||||
"``del o[key]``." | ||||
| ||||
#: c-api/object.rst:346 | ||||
#: c-api/object.rst:347 | ||||
msgid "" | ||||
"This is equivalent to the Python expression ``dir(o)``, returning a " | ||||
"(possibly empty) list of strings appropriate for the object argument, or " | ||||
| | @ -491,7 +492,7 @@ msgid "" | |||
"`PyErr_Occurred` will return false." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:355 | ||||
#: c-api/object.rst:356 | ||||
msgid "" | ||||
"This is equivalent to the Python expression ``iter(o)``. It returns a new " | ||||
"iterator for the object argument, or the object itself if the object is " | ||||
| | @ -499,7 +500,7 @@ msgid "" | |||
"object cannot be iterated." | ||||
msgstr "" | ||||
| ||||
#: c-api/object.rst:363 | ||||
#: c-api/object.rst:364 | ||||
msgid "" | ||||
"This is the equivalent to the Python expression ``aiter(o)``. Takes an :" | ||||
"class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. " | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2019-02-26 12:01+0100\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -59,36 +59,6 @@ msgid "See also :c:func:`PyThreadState_GetFrame`." | |||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:36 | ||||
msgid "Get the *frame* next outer frame." | ||||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:38 | ||||
msgid "" | ||||
"Return a :term:`strong reference`, or ``NULL`` if *frame* has no outer frame." | ||||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:60 | ||||
msgid "*frame* must not be ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:47 | ||||
msgid "Get the *frame* code." | ||||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:49 | ||||
msgid "Return a :term:`strong reference`." | ||||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:51 | ||||
msgid "" | ||||
"*frame* must not be ``NULL``. The result (frame code) cannot be ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/reflection.rst:58 | ||||
msgid "Return the line number that *frame* is currently executing." | ||||
msgstr "Renvoie le numéro de ligne que *frame* est en train d'exécuter" | ||||
| ||||
#: c-api/reflection.rst:65 | ||||
msgid "" | ||||
"Return the name of *func* if it is a function, class or instance object, " | ||||
"else the name of *func*\\s type." | ||||
| | @ -96,7 +66,7 @@ msgstr "" | |||
"Renvoie le nom de *func* s'il s'agit d'une fonction, d'une classe ou d'un " | ||||
"objet d'instance, sinon le nom du type de *func*" | ||||
| ||||
#: c-api/reflection.rst:71 | ||||
#: c-api/reflection.rst:42 | ||||
msgid "" | ||||
"Return a description string, depending on the type of *func*. Return values " | ||||
"include \"()\" for functions and methods, \" constructor\", \" instance\", " | ||||
| | @ -105,6 +75,9 @@ msgid "" | |||
msgstr "" | ||||
"Renvoie une description en chaîne de caractères, en fonction du type de " | ||||
"*func*. Les valeurs renvoyées peuvent être ``\"()\"`` pour les fonction et " | ||||
"les méthodes, ``\\\" constructor\\\"``, ``\\\" instance\\\"``, ``\\\" object" | ||||
"\\\"``. Concaténé avec le résultat de :c:func:`PyEval_GetFuncName`, le " | ||||
"les méthodes, ``\\\" constructor\\\"``, ``\\\" instance\\\"``, ``\\\" " | ||||
"object\\\"``. Concaténé avec le résultat de :c:func:`PyEval_GetFuncName`, le " | ||||
"résultat sera une description de *func*" | ||||
| ||||
#~ msgid "Return the line number that *frame* is currently executing." | ||||
#~ msgstr "Renvoie le numéro de ligne que *frame* est en train d'exécuter" | ||||
| | | |||
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -111,63 +111,74 @@ msgid "Return a :term:`borrowed reference`." | |||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:102 | ||||
msgid "The :c:func:`Py_SET_TYPE` function must be used to set an object type." | ||||
msgid "Use the :c:func:`Py_SET_TYPE` function to set an object type." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:107 | ||||
#: c-api/structures.rst:104 | ||||
msgid ":c:func:`Py_TYPE()` is changed to an inline static function." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:110 | ||||
msgid "" | ||||
"Return non-zero if the object *o* type is *type*. Return zero otherwise. " | ||||
"Equivalent to: ``Py_TYPE(o) == type``." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:115 | ||||
#: c-api/structures.rst:118 | ||||
msgid "Set the object *o* type to *type*." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:122 | ||||
#: c-api/structures.rst:125 | ||||
msgid "Get the reference count of the Python object *o*." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:124 | ||||
#: c-api/structures.rst:127 | ||||
msgid "" | ||||
":c:func:`Py_REFCNT()` is changed to the inline static function. Use :c:func:" | ||||
"`Py_SET_REFCNT()` to set an object reference count." | ||||
"Use the :c:func:`Py_SET_REFCNT()` function to set an object reference count." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:131 | ||||
#: c-api/structures.rst:129 | ||||
msgid ":c:func:`Py_REFCNT()` is changed to the inline static function." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:135 | ||||
msgid "Set the object *o* reference counter to *refcnt*." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:138 | ||||
#: c-api/structures.rst:142 | ||||
msgid "Get the size of the Python object *o*." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:140 | ||||
msgid "The :c:func:`Py_SET_SIZE` function must be used to set an object size." | ||||
#: c-api/structures.rst:144 | ||||
msgid "Use the :c:func:`Py_SET_SIZE` function to set an object size." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:145 | ||||
msgid "Set the object *o* size to *size*." | ||||
#: c-api/structures.rst:146 | ||||
msgid ":c:func:`Py_SIZE()` is changed to an inline static function." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:152 | ||||
msgid "Set the object *o* size to *size*." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:159 | ||||
msgid "" | ||||
"This is a macro which expands to initialization values for a new :c:type:" | ||||
"`PyObject` type. This macro expands to::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:161 | ||||
#: c-api/structures.rst:168 | ||||
msgid "" | ||||
"This is a macro which expands to initialization values for a new :c:type:" | ||||
"`PyVarObject` type, including the :attr:`ob_size` field. This macro expands " | ||||
"to::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:170 | ||||
#: c-api/structures.rst:177 | ||||
msgid "Implementing functions and methods" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:174 | ||||
#: c-api/structures.rst:181 | ||||
msgid "" | ||||
"Type of the functions used to implement most Python callables in C. " | ||||
"Functions of this type take two :c:type:`PyObject*` parameters and return " | ||||
| | @ -177,99 +188,99 @@ msgid "" | |||
"reference." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:181 | ||||
#: c-api/structures.rst:188 | ||||
msgid "The function signature is::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:188 | ||||
#: c-api/structures.rst:195 | ||||
msgid "" | ||||
"Type of the functions used to implement Python callables in C with " | ||||
"signature :const:`METH_VARARGS | METH_KEYWORDS`. The function signature is::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:199 | ||||
#: c-api/structures.rst:206 | ||||
msgid "" | ||||
"Type of the functions used to implement Python callables in C with " | ||||
"signature :const:`METH_FASTCALL`. The function signature is::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:209 | ||||
#: c-api/structures.rst:216 | ||||
msgid "" | ||||
"Type of the functions used to implement Python callables in C with " | ||||
"signature :const:`METH_FASTCALL | METH_KEYWORDS`. The function signature is::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:220 | ||||
#: c-api/structures.rst:227 | ||||
msgid "" | ||||
"Type of the functions used to implement Python callables in C with " | ||||
"signature :const:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`. The function " | ||||
"signature is::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:235 | ||||
#: c-api/structures.rst:242 | ||||
msgid "" | ||||
"Structure used to describe a method of an extension type. This structure " | ||||
"has four fields:" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:397 c-api/structures.rst:493 | ||||
#: c-api/structures.rst:404 c-api/structures.rst:500 | ||||
msgid "Field" | ||||
msgstr "Champ" | ||||
| ||||
#: c-api/structures.rst:397 c-api/structures.rst:493 | ||||
#: c-api/structures.rst:404 c-api/structures.rst:500 | ||||
msgid "C Type" | ||||
msgstr "Type C" | ||||
| ||||
#: c-api/structures.rst:397 c-api/structures.rst:493 | ||||
#: c-api/structures.rst:404 c-api/structures.rst:500 | ||||
msgid "Meaning" | ||||
msgstr "Signification" | ||||
| ||||
#: c-api/structures.rst:241 | ||||
#: c-api/structures.rst:248 | ||||
msgid ":attr:`ml_name`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:249 c-api/structures.rst:412 c-api/structures.rst:495 | ||||
#: c-api/structures.rst:503 | ||||
#: c-api/structures.rst:256 c-api/structures.rst:419 c-api/structures.rst:502 | ||||
#: c-api/structures.rst:510 | ||||
msgid "const char \\*" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:241 | ||||
#: c-api/structures.rst:248 | ||||
msgid "name of the method" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:243 | ||||
#: c-api/structures.rst:250 | ||||
msgid ":attr:`ml_meth`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:243 | ||||
#: c-api/structures.rst:250 | ||||
msgid "PyCFunction" | ||||
msgstr "PyCFunction" | ||||
| ||||
#: c-api/structures.rst:243 | ||||
#: c-api/structures.rst:250 | ||||
msgid "pointer to the C implementation" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:246 | ||||
#: c-api/structures.rst:253 | ||||
msgid ":attr:`ml_flags`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:401 c-api/structures.rst:424 | ||||
#: c-api/structures.rst:408 c-api/structures.rst:431 | ||||
msgid "int" | ||||
msgstr "*int*" | ||||
| ||||
#: c-api/structures.rst:246 | ||||
#: c-api/structures.rst:253 | ||||
msgid "flag bits indicating how the call should be constructed" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:249 | ||||
#: c-api/structures.rst:256 | ||||
msgid ":attr:`ml_doc`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:412 | ||||
#: c-api/structures.rst:419 | ||||
msgid "points to the contents of the docstring" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:253 | ||||
#: c-api/structures.rst:260 | ||||
msgid "" | ||||
"The :attr:`ml_meth` is a C function pointer. The functions may be of " | ||||
"different types, but they always return :c:type:`PyObject*`. If the " | ||||
| | @ -279,18 +290,18 @@ msgid "" | |||
"implementation uses the specific C type of the *self* object." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:260 | ||||
#: c-api/structures.rst:267 | ||||
msgid "" | ||||
"The :attr:`ml_flags` field is a bitfield which can include the following " | ||||
"flags. The individual flags indicate either a calling convention or a " | ||||
"binding convention." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:264 | ||||
#: c-api/structures.rst:271 | ||||
msgid "There are these calling conventions:" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:268 | ||||
#: c-api/structures.rst:275 | ||||
msgid "" | ||||
"This is the typical calling convention, where the methods have the type :c:" | ||||
"type:`PyCFunction`. The function expects two :c:type:`PyObject*` values. The " | ||||
| | @ -300,7 +311,7 @@ msgid "" | |||
"func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:278 | ||||
#: c-api/structures.rst:285 | ||||
msgid "" | ||||
"Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. " | ||||
"The function expects three parameters: *self*, *args*, *kwargs* where " | ||||
| | @ -309,7 +320,7 @@ msgid "" | |||
"using :c:func:`PyArg_ParseTupleAndKeywords`." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:287 | ||||
#: c-api/structures.rst:294 | ||||
msgid "" | ||||
"Fast calling convention supporting only positional arguments. The methods " | ||||
"have the type :c:type:`_PyCFunctionFast`. The first parameter is *self*, the " | ||||
| | @ -318,11 +329,11 @@ msgid "" | |||
"the array)." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:297 | ||||
#: c-api/structures.rst:304 | ||||
msgid "``METH_FASTCALL`` is now part of the stable ABI." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:302 | ||||
#: c-api/structures.rst:309 | ||||
msgid "" | ||||
"Extension of :const:`METH_FASTCALL` supporting also keyword arguments, with " | ||||
"methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword arguments " | ||||
| | @ -334,25 +345,25 @@ msgid "" | |||
"arguments." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:312 | ||||
#: c-api/structures.rst:319 | ||||
msgid "This is not part of the :ref:`limited API <stable>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:319 | ||||
#: c-api/structures.rst:326 | ||||
msgid "" | ||||
"Extension of :const:`METH_FASTCALL | METH_KEYWORDS` supporting the *defining " | ||||
"class*, that is, the class that contains the method in question. The " | ||||
"defining class might be a superclass of ``Py_TYPE(self)``." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:323 | ||||
#: c-api/structures.rst:330 | ||||
msgid "" | ||||
"The method needs to be of type :c:type:`PyCMethod`, the same as for " | ||||
"``METH_FASTCALL | METH_KEYWORDS`` with ``defining_class`` argument added " | ||||
"after ``self``." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:332 | ||||
#: c-api/structures.rst:339 | ||||
msgid "" | ||||
"Methods without parameters don't need to check whether arguments are given " | ||||
"if they are listed with the :const:`METH_NOARGS` flag. They need to be of " | ||||
| | @ -361,7 +372,7 @@ msgid "" | |||
"the second parameter will be ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:341 | ||||
#: c-api/structures.rst:348 | ||||
msgid "" | ||||
"Methods with a single object argument can be listed with the :const:`METH_O` " | ||||
"flag, instead of invoking :c:func:`PyArg_ParseTuple` with a ``\"O\"`` " | ||||
| | @ -370,7 +381,7 @@ msgid "" | |||
"argument." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:347 | ||||
#: c-api/structures.rst:354 | ||||
msgid "" | ||||
"These two constants are not used to indicate the calling convention but the " | ||||
"binding when use with methods of classes. These may not be used for " | ||||
| | @ -378,27 +389,27 @@ msgid "" | |||
"any given method." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:357 | ||||
#: c-api/structures.rst:364 | ||||
msgid "" | ||||
"The method will be passed the type object as the first parameter rather than " | ||||
"an instance of the type. This is used to create *class methods*, similar to " | ||||
"what is created when using the :func:`classmethod` built-in function." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:367 | ||||
#: c-api/structures.rst:374 | ||||
msgid "" | ||||
"The method will be passed ``NULL`` as the first parameter rather than an " | ||||
"instance of the type. This is used to create *static methods*, similar to " | ||||
"what is created when using the :func:`staticmethod` built-in function." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:371 | ||||
#: c-api/structures.rst:378 | ||||
msgid "" | ||||
"One other constant controls whether a method is loaded in place of another " | ||||
"definition with the same method name." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:377 | ||||
#: c-api/structures.rst:384 | ||||
msgid "" | ||||
"The method will be loaded in place of existing definitions. Without " | ||||
"*METH_COEXIST*, the default is to skip repeated definitions. Since slot " | ||||
| | @ -411,193 +422,193 @@ msgid "" | |||
"calls." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:389 | ||||
#: c-api/structures.rst:396 | ||||
msgid "Accessing attributes of extension types" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:393 | ||||
#: c-api/structures.rst:400 | ||||
msgid "" | ||||
"Structure which describes an attribute of a type which corresponds to a C " | ||||
"struct member. Its fields are:" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:399 | ||||
#: c-api/structures.rst:406 | ||||
msgid ":attr:`name`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:399 | ||||
#: c-api/structures.rst:406 | ||||
msgid "name of the member" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:401 | ||||
#: c-api/structures.rst:408 | ||||
msgid ":attr:`!type`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:401 | ||||
#: c-api/structures.rst:408 | ||||
msgid "the type of the member in the C struct" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:404 | ||||
#: c-api/structures.rst:411 | ||||
msgid ":attr:`offset`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:440 | ||||
#: c-api/structures.rst:447 | ||||
msgid "Py_ssize_t" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:404 | ||||
#: c-api/structures.rst:411 | ||||
msgid "" | ||||
"the offset in bytes that the member is located on the type's object struct" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:408 | ||||
#: c-api/structures.rst:415 | ||||
msgid ":attr:`flags`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:408 | ||||
#: c-api/structures.rst:415 | ||||
msgid "flag bits indicating if the field should be read-only or writable" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:412 | ||||
#: c-api/structures.rst:419 | ||||
msgid ":attr:`doc`" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:416 | ||||
#: c-api/structures.rst:423 | ||||
msgid "" | ||||
":attr:`!type` can be one of many ``T_`` macros corresponding to various C " | ||||
"types. When the member is accessed in Python, it will be converted to the " | ||||
"equivalent Python type." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:421 | ||||
#: c-api/structures.rst:428 | ||||
msgid "Macro name" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:421 | ||||
#: c-api/structures.rst:428 | ||||
msgid "C type" | ||||
msgstr "Type C" | ||||
| ||||
#: c-api/structures.rst:423 | ||||
#: c-api/structures.rst:430 | ||||
msgid "T_SHORT" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:423 | ||||
#: c-api/structures.rst:430 | ||||
msgid "short" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:424 | ||||
#: c-api/structures.rst:431 | ||||
msgid "T_INT" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:425 | ||||
#: c-api/structures.rst:432 | ||||
msgid "T_LONG" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:425 | ||||
#: c-api/structures.rst:432 | ||||
msgid "long" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:426 | ||||
#: c-api/structures.rst:433 | ||||
msgid "T_FLOAT" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:426 | ||||
#: c-api/structures.rst:433 | ||||
msgid "float" | ||||
msgstr "*float*" | ||||
| ||||
#: c-api/structures.rst:427 | ||||
#: c-api/structures.rst:434 | ||||
msgid "T_DOUBLE" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:427 | ||||
#: c-api/structures.rst:434 | ||||
msgid "double" | ||||
msgstr "double" | ||||
| ||||
#: c-api/structures.rst:428 | ||||
#: c-api/structures.rst:435 | ||||
msgid "T_STRING" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:429 | ||||
#: c-api/structures.rst:436 | ||||
msgid "T_OBJECT" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:430 | ||||
#: c-api/structures.rst:437 | ||||
msgid "PyObject \\*" | ||||
msgstr "PyObject \\*" | ||||
| ||||
#: c-api/structures.rst:430 | ||||
#: c-api/structures.rst:437 | ||||
msgid "T_OBJECT_EX" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:431 | ||||
#: c-api/structures.rst:438 | ||||
msgid "T_CHAR" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:432 c-api/structures.rst:437 | ||||
#: c-api/structures.rst:439 c-api/structures.rst:444 | ||||
msgid "char" | ||||
msgstr "char" | ||||
| ||||
#: c-api/structures.rst:432 | ||||
#: c-api/structures.rst:439 | ||||
msgid "T_BYTE" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:433 | ||||
#: c-api/structures.rst:440 | ||||
msgid "T_UBYTE" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:433 | ||||
#: c-api/structures.rst:440 | ||||
msgid "unsigned char" | ||||
msgstr "``unsigned char``" | ||||
| ||||
#: c-api/structures.rst:434 | ||||
#: c-api/structures.rst:441 | ||||
msgid "T_UINT" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:434 | ||||
#: c-api/structures.rst:441 | ||||
msgid "unsigned int" | ||||
msgstr "``unsigned int``" | ||||
| ||||
#: c-api/structures.rst:435 | ||||
#: c-api/structures.rst:442 | ||||
msgid "T_USHORT" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:435 | ||||
#: c-api/structures.rst:442 | ||||
msgid "unsigned short" | ||||
msgstr "``unsigned short``" | ||||
| ||||
#: c-api/structures.rst:436 | ||||
#: c-api/structures.rst:443 | ||||
msgid "T_ULONG" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:436 | ||||
#: c-api/structures.rst:443 | ||||
msgid "unsigned long" | ||||
msgstr "``unsigned long``" | ||||
| ||||
#: c-api/structures.rst:437 | ||||
#: c-api/structures.rst:444 | ||||
msgid "T_BOOL" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:438 | ||||
#: c-api/structures.rst:445 | ||||
msgid "T_LONGLONG" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:438 | ||||
#: c-api/structures.rst:445 | ||||
msgid "long long" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:439 | ||||
#: c-api/structures.rst:446 | ||||
msgid "T_ULONGLONG" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:439 | ||||
#: c-api/structures.rst:446 | ||||
msgid "unsigned long long" | ||||
msgstr "``unsigned long long``" | ||||
| ||||
#: c-api/structures.rst:440 | ||||
#: c-api/structures.rst:447 | ||||
msgid "T_PYSSIZET" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:443 | ||||
#: c-api/structures.rst:450 | ||||
msgid "" | ||||
":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:" | ||||
"`T_OBJECT` returns ``None`` if the member is ``NULL`` and :c:macro:" | ||||
| | @ -607,7 +618,7 @@ msgid "" | |||
"than :c:macro:`T_OBJECT`." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:450 | ||||
#: c-api/structures.rst:457 | ||||
msgid "" | ||||
":attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` " | ||||
"for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:" | ||||
| | @ -616,7 +627,7 @@ msgid "" | |||
"are set to ``NULL``)." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:458 | ||||
#: c-api/structures.rst:465 | ||||
msgid "" | ||||
"Heap allocated types (created using :c:func:`PyType_FromSpec` or similar), " | ||||
"``PyMemberDef`` may contain definitions for the special members " | ||||
| | @ -627,99 +638,99 @@ msgid "" | |||
"``T_PYSSIZET`` and ``READONLY``, for example::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:475 | ||||
#: c-api/structures.rst:482 | ||||
msgid "" | ||||
"Get an attribute belonging to the object at address *obj_addr*. The " | ||||
"attribute is described by ``PyMemberDef`` *m*. Returns ``NULL`` on error." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:482 | ||||
#: c-api/structures.rst:489 | ||||
msgid "" | ||||
"Set an attribute belonging to the object at address *obj_addr* to object " | ||||
"*o*. The attribute to set is described by ``PyMemberDef`` *m*. Returns " | ||||
"``0`` if successful and a negative value on failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:489 | ||||
#: c-api/structures.rst:496 | ||||
msgid "" | ||||
"Structure to define property-like access for a type. See also description of " | ||||
"the :c:member:`PyTypeObject.tp_getset` slot." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:495 | ||||
#: c-api/structures.rst:502 | ||||
msgid "name" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:495 | ||||
#: c-api/structures.rst:502 | ||||
msgid "attribute name" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:497 | ||||
#: c-api/structures.rst:504 | ||||
msgid "get" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:497 | ||||
#: c-api/structures.rst:504 | ||||
msgid "getter" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:497 | ||||
#: c-api/structures.rst:504 | ||||
msgid "C Function to get the attribute" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:499 | ||||
#: c-api/structures.rst:506 | ||||
msgid "set" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:499 | ||||
#: c-api/structures.rst:506 | ||||
msgid "setter" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:499 | ||||
#: c-api/structures.rst:506 | ||||
msgid "" | ||||
"optional C function to set or delete the attribute, if omitted the attribute " | ||||
"is readonly" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:503 | ||||
#: c-api/structures.rst:510 | ||||
msgid "doc" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:503 | ||||
#: c-api/structures.rst:510 | ||||
msgid "optional docstring" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:505 | ||||
#: c-api/structures.rst:512 | ||||
msgid "closure" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:505 | ||||
#: c-api/structures.rst:512 | ||||
msgid "void \\*" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:505 | ||||
#: c-api/structures.rst:512 | ||||
msgid "" | ||||
"optional function pointer, providing additional data for getter and setter" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:510 | ||||
#: c-api/structures.rst:517 | ||||
msgid "" | ||||
"The ``get`` function takes one :c:type:`PyObject*` parameter (the instance) " | ||||
"and a function pointer (the associated ``closure``)::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:515 | ||||
#: c-api/structures.rst:522 | ||||
msgid "" | ||||
"It should return a new reference on success or ``NULL`` with a set exception " | ||||
"on failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:518 | ||||
#: c-api/structures.rst:525 | ||||
msgid "" | ||||
"``set`` functions take two :c:type:`PyObject*` parameters (the instance and " | ||||
"the value to be set) and a function pointer (the associated ``closure``)::" | ||||
msgstr "" | ||||
| ||||
#: c-api/structures.rst:523 | ||||
#: c-api/structures.rst:530 | ||||
msgid "" | ||||
"In case the attribute should be deleted the second parameter is ``NULL``. " | ||||
"Should return ``0`` on success or ``-1`` with a set exception on failure." | ||||
| | | |||
82 c-api/sys.po
82
c-api/sys.po | | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -147,8 +147,8 @@ msgstr "" | |||
msgid "" | ||||
"Decode a byte string from the :term:`filesystem encoding and error handler`. " | ||||
"If the error handler is :ref:`surrogateescape error handler " | ||||
"<surrogateescape>`, undecodable bytes are decoded as characters in range U" | ||||
"+DC80..U+DCFF; and if a byte sequence can be decoded as a surrogate " | ||||
"<surrogateescape>`, undecodable bytes are decoded as characters in range " | ||||
"U+DC80..U+DCFF; and if a byte sequence can be decoded as a surrogate " | ||||
"character, the bytes are escaped using the surrogateescape error handler " | ||||
"instead of decoding them." | ||||
msgstr "" | ||||
| | @ -267,17 +267,24 @@ msgid "" | |||
"prior to :c:func:`Py_Initialize`." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:240 | ||||
#: c-api/sys.rst:251 | ||||
msgid "" | ||||
"This API is kept for backward compatibility: setting :c:member:`PyConfig." | ||||
"warnoptions` should be used instead, see :ref:`Python Initialization " | ||||
"Configuration <init-config>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:244 | ||||
msgid "" | ||||
"Append *s* to :data:`sys.warnoptions`. This function must be called prior " | ||||
"to :c:func:`Py_Initialize` in order to affect the warnings filter list." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:245 | ||||
#: c-api/sys.rst:255 | ||||
msgid "Append *unicode* to :data:`sys.warnoptions`." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:247 | ||||
#: c-api/sys.rst:257 | ||||
msgid "" | ||||
"Note: this function is not currently usable from outside the CPython " | ||||
"implementation, as it must be called prior to the implicit import of :mod:" | ||||
| | @ -286,20 +293,20 @@ msgid "" | |||
"Unicode objects." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:255 | ||||
#: c-api/sys.rst:267 | ||||
msgid "" | ||||
"Set :data:`sys.path` to a list object of paths found in *path* which should " | ||||
"be a list of paths separated with the platform's search path delimiter (``:" | ||||
"`` on Unix, ``;`` on Windows)." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:261 | ||||
#: c-api/sys.rst:273 | ||||
msgid "" | ||||
"Write the output string described by *format* to :data:`sys.stdout`. No " | ||||
"exceptions are raised, even if truncation occurs (see below)." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:264 | ||||
#: c-api/sys.rst:276 | ||||
msgid "" | ||||
"*format* should limit the total size of the formatted output string to 1000 " | ||||
"bytes or less -- after 1000 bytes, the output string is truncated. In " | ||||
| | @ -310,51 +317,58 @@ msgid "" | |||
"of digits for very large numbers." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:272 | ||||
#: c-api/sys.rst:284 | ||||
msgid "" | ||||
"If a problem occurs, or :data:`sys.stdout` is unset, the formatted message " | ||||
"is written to the real (C level) *stdout*." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:277 | ||||
#: c-api/sys.rst:289 | ||||
msgid "" | ||||
"As :c:func:`PySys_WriteStdout`, but write to :data:`sys.stderr` or *stderr* " | ||||
"instead." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:282 | ||||
#: c-api/sys.rst:294 | ||||
msgid "" | ||||
"Function similar to PySys_WriteStdout() but format the message using :c:func:" | ||||
"`PyUnicode_FromFormatV` and don't truncate the message to an arbitrary " | ||||
"length." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:290 | ||||
#: c-api/sys.rst:302 | ||||
msgid "" | ||||
"As :c:func:`PySys_FormatStdout`, but write to :data:`sys.stderr` or *stderr* " | ||||
"instead." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:297 | ||||
#: c-api/sys.rst:309 | ||||
msgid "" | ||||
"This API is kept for backward compatibility: setting :c:member:`PyConfig." | ||||
"xoptions` should be used instead, see :ref:`Python Initialization " | ||||
"Configuration <init-config>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:313 | ||||
msgid "" | ||||
"Parse *s* as a set of :option:`-X` options and add them to the current " | ||||
"options mapping as returned by :c:func:`PySys_GetXOptions`. This function " | ||||
"may be called prior to :c:func:`Py_Initialize`." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:305 | ||||
#: c-api/sys.rst:323 | ||||
msgid "" | ||||
"Return the current dictionary of :option:`-X` options, similarly to :data:" | ||||
"`sys._xoptions`. On error, ``NULL`` is returned and an exception is set." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:314 | ||||
#: c-api/sys.rst:332 | ||||
msgid "" | ||||
"Raise an auditing event with any active hooks. Return zero for success and " | ||||
"non-zero with an exception set on failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:317 | ||||
#: c-api/sys.rst:335 | ||||
msgid "" | ||||
"If any hooks have been added, *format* and other arguments will be used to " | ||||
"construct a tuple to pass. Apart from ``N``, the same format characters as " | ||||
| | @ -365,23 +379,23 @@ msgid "" | |||
"leaks.)" | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:325 | ||||
#: c-api/sys.rst:343 | ||||
msgid "" | ||||
"Note that ``#`` format characters should always be treated as " | ||||
"``Py_ssize_t``, regardless of whether ``PY_SSIZE_T_CLEAN`` was defined." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:328 | ||||
#: c-api/sys.rst:346 | ||||
msgid ":func:`sys.audit` performs the same function from Python code." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:334 | ||||
#: c-api/sys.rst:352 | ||||
msgid "" | ||||
"Require ``Py_ssize_t`` for ``#`` format characters. Previously, an " | ||||
"unavoidable deprecation warning was raised." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:340 | ||||
#: c-api/sys.rst:358 | ||||
msgid "" | ||||
"Append the callable *hook* to the list of active auditing hooks. Return zero " | ||||
"for success and non-zero on failure. If the runtime has been initialized, " | ||||
| | @ -389,14 +403,14 @@ msgid "" | |||
"all interpreters created by the runtime." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:346 | ||||
#: c-api/sys.rst:364 | ||||
msgid "" | ||||
"The *userData* pointer is passed into the hook function. Since hook " | ||||
"functions may be called from different runtimes, this pointer should not " | ||||
"refer directly to Python state." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:350 | ||||
#: c-api/sys.rst:368 | ||||
msgid "" | ||||
"This function is safe to call before :c:func:`Py_Initialize`. When called " | ||||
"after runtime initialization, existing audit hooks are notified and may " | ||||
| | @ -404,7 +418,7 @@ msgid "" | |||
"`Exception` (other errors will not be silenced)." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:355 | ||||
#: c-api/sys.rst:373 | ||||
msgid "" | ||||
"The hook function is of type :c:type:`int (*)(const char *event, PyObject " | ||||
"*args, void *userData)`, where *args* is guaranteed to be a :c:type:" | ||||
| | @ -412,14 +426,14 @@ msgid "" | |||
"Python interpreter that raised the event." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:360 | ||||
#: c-api/sys.rst:378 | ||||
msgid "" | ||||
"See :pep:`578` for a detailed description of auditing. Functions in the " | ||||
"runtime and standard library that raise events are listed in the :ref:`audit " | ||||
"events table <audit-events>`. Details are in each function's documentation." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:365 | ||||
#: c-api/sys.rst:383 | ||||
msgid "" | ||||
"Raises an :ref:`auditing event <auditing>` ``sys.addaudithook`` with no " | ||||
"arguments." | ||||
| | @ -427,7 +441,7 @@ msgstr "" | |||
"Déclenche un :ref:`événement d'audit <auditing>` ``sys.addaudithook`` sans " | ||||
"arguments." | ||||
| ||||
#: c-api/sys.rst:367 | ||||
#: c-api/sys.rst:385 | ||||
msgid "" | ||||
"If the interpreter is initialized, this function raises a auditing event " | ||||
"``sys.addaudithook`` with no arguments. If any existing hooks raise an " | ||||
| | @ -436,11 +450,11 @@ msgid "" | |||
"hook has been added unless they control all existing hooks." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:379 | ||||
#: c-api/sys.rst:397 | ||||
msgid "Process Control" | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:386 | ||||
#: c-api/sys.rst:404 | ||||
msgid "" | ||||
"Print a fatal error message and kill the process. No cleanup is performed. " | ||||
"This function should only be invoked when a condition is detected that would " | ||||
| | @ -450,29 +464,29 @@ msgid "" | |||
"file:`core` file." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:393 | ||||
#: c-api/sys.rst:411 | ||||
msgid "" | ||||
"The ``Py_FatalError()`` function is replaced with a macro which logs " | ||||
"automatically the name of the current function, unless the " | ||||
"``Py_LIMITED_API`` macro is defined." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:397 | ||||
#: c-api/sys.rst:415 | ||||
msgid "Log the function name automatically." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:407 | ||||
#: c-api/sys.rst:425 | ||||
msgid "" | ||||
"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls " | ||||
"the standard C library function ``exit(status)``. If :c:func:" | ||||
"`Py_FinalizeEx` indicates an error, the exit status is set to 120." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:411 | ||||
#: c-api/sys.rst:429 | ||||
msgid "Errors from finalization no longer ignored." | ||||
msgstr "" | ||||
| ||||
#: c-api/sys.rst:421 | ||||
#: c-api/sys.rst:439 | ||||
msgid "" | ||||
"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The " | ||||
"cleanup function will be called with no arguments and should return no " | ||||
| | | |||
141 c-api/type.po
141
c-api/type.po | | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\n" | ||||
"PO-Revision-Date: 2018-02-15 00:33+0100\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
| | @ -122,75 +122,108 @@ msgstr "" | |||
| ||||
#: c-api/type.rst:111 | ||||
msgid "" | ||||
"Return the type's name. Equivalent to getting the type's ``__name__`` " | ||||
"attribute." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:117 | ||||
msgid "" | ||||
"Return the type's qualified name. Equivalent to getting the type's " | ||||
"``__qualname__`` attribute." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:124 | ||||
msgid "" | ||||
"Return the function pointer stored in the given slot. If the result is " | ||||
"``NULL``, this indicates that either the slot is ``NULL``, or that the " | ||||
"function was called with invalid parameters. Callers will typically cast the " | ||||
"result pointer into the appropriate function type." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:117 | ||||
#: c-api/type.rst:130 | ||||
msgid "" | ||||
"See :c:member:`PyType_Slot.slot` for possible values of the *slot* argument." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:121 | ||||
#: c-api/type.rst:134 | ||||
msgid "" | ||||
":c:func:`PyType_GetSlot` can now accept all types. Previously, it was " | ||||
"limited to :ref:`heap types <heap-types>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:127 | ||||
#: c-api/type.rst:140 | ||||
msgid "" | ||||
"Return the module object associated with the given type when the type was " | ||||
"created using :c:func:`PyType_FromModuleAndSpec`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:148 | ||||
#: c-api/type.rst:163 | ||||
msgid "" | ||||
"If no module is associated with the given type, sets :py:class:`TypeError` " | ||||
"and returns ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:133 | ||||
#: c-api/type.rst:146 | ||||
msgid "" | ||||
"This function is usually used to get the module in which a method is " | ||||
"defined. Note that in such a method, ``PyType_GetModule(Py_TYPE(self))`` may " | ||||
"not return the intended result. ``Py_TYPE(self)`` may be a *subclass* of the " | ||||
"intended class, and subclasses are not necessarily defined in the same " | ||||
"module as their superclass. See :c:type:`PyCMethod` to get the class that " | ||||
"defines the method." | ||||
"defines the method. See :c:func:`PyType_GetModuleByDef` for cases when " | ||||
"``PyCMethod`` cannot be used." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:144 | ||||
#: c-api/type.rst:159 | ||||
msgid "" | ||||
"Return the state of the module object associated with the given type. This " | ||||
"is a shortcut for calling :c:func:`PyModule_GetState()` on the result of :c:" | ||||
"func:`PyType_GetModule`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:151 | ||||
#: c-api/type.rst:166 | ||||
msgid "" | ||||
"If the *type* has an associated module but its state is ``NULL``, returns " | ||||
"``NULL`` without setting an exception." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:158 | ||||
#: c-api/type.rst:173 | ||||
msgid "" | ||||
"Find the first superclass whose module was created from the given :c:type:" | ||||
"`PyModuleDef` *def*, and return that module." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:176 | ||||
msgid "" | ||||
"If no module is found, raises a :py:class:`TypeError` and returns ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:178 | ||||
msgid "" | ||||
"This function is intended to be used together with :c:func:" | ||||
"`PyModule_GetState()` to get module state from slot methods (such as :c:" | ||||
"member:`~PyTypeObject.tp_init` or :c:member:`~PyNumberMethods.nb_add`) and " | ||||
"other places where a method's defining class cannot be passed using the :c:" | ||||
"type:`PyCMethod` calling convention." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:188 | ||||
msgid "Creating Heap-Allocated Types" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:160 | ||||
#: c-api/type.rst:190 | ||||
msgid "" | ||||
"The following functions and structs are used to create :ref:`heap types " | ||||
"<heap-types>`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:165 | ||||
#: c-api/type.rst:195 | ||||
msgid "" | ||||
"Creates and returns a :ref:`heap type <heap-types>` from the *spec* (:const:" | ||||
"`Py_TPFLAGS_HEAPTYPE`)." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:168 | ||||
#: c-api/type.rst:198 | ||||
msgid "" | ||||
"The *bases* argument can be used to specify base classes; it can either be " | ||||
"only one class or a tuple of classes. If *bases* is ``NULL``, the " | ||||
| | @ -199,7 +232,7 @@ msgid "" | |||
"derives from :class:`object`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:174 | ||||
#: c-api/type.rst:204 | ||||
msgid "" | ||||
"The *module* argument can be used to record the module in which the new " | ||||
"class is defined. It must be a module object or ``NULL``. If not ``NULL``, " | ||||
| | @ -208,65 +241,65 @@ msgid "" | |||
"subclasses; it must be specified for each class individually." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:181 | ||||
#: c-api/type.rst:211 | ||||
msgid "This function calls :c:func:`PyType_Ready` on the new type." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:187 | ||||
#: c-api/type.rst:217 | ||||
msgid "" | ||||
"The function now accepts a single class as the *bases* argument and ``NULL`` " | ||||
"as the ``tp_doc`` slot." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:192 | ||||
#: c-api/type.rst:222 | ||||
msgid "Equivalent to ``PyType_FromModuleAndSpec(NULL, spec, bases)``." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:198 | ||||
#: c-api/type.rst:228 | ||||
msgid "Equivalent to ``PyType_FromSpecWithBases(spec, NULL)``." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:202 | ||||
#: c-api/type.rst:232 | ||||
msgid "Structure defining a type's behavior." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:206 | ||||
#: c-api/type.rst:236 | ||||
msgid "Name of the type, used to set :c:member:`PyTypeObject.tp_name`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:211 | ||||
#: c-api/type.rst:241 | ||||
msgid "" | ||||
"Size of the instance in bytes, used to set :c:member:`PyTypeObject." | ||||
"tp_basicsize` and :c:member:`PyTypeObject.tp_itemsize`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:217 | ||||
#: c-api/type.rst:247 | ||||
msgid "Type flags, used to set :c:member:`PyTypeObject.tp_flags`." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:219 | ||||
#: c-api/type.rst:249 | ||||
msgid "" | ||||
"If the ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:" | ||||
"`PyType_FromSpecWithBases` sets it automatically." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:224 | ||||
#: c-api/type.rst:254 | ||||
msgid "" | ||||
"Array of :c:type:`PyType_Slot` structures. Terminated by the special slot " | ||||
"value ``{0, NULL}``." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:229 | ||||
#: c-api/type.rst:259 | ||||
msgid "" | ||||
"Structure defining optional functionality of a type, containing a slot ID " | ||||
"and a value pointer." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:234 | ||||
#: c-api/type.rst:264 | ||||
msgid "A slot ID." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:236 | ||||
#: c-api/type.rst:266 | ||||
msgid "" | ||||
"Slot IDs are named like the field names of the structures :c:type:" | ||||
"`PyTypeObject`, :c:type:`PyNumberMethods`, :c:type:`PySequenceMethods`, :c:" | ||||
| | @ -274,97 +307,89 @@ msgid "" | |||
"prefix. For example, use:" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:242 | ||||
#: c-api/type.rst:272 | ||||
msgid "``Py_tp_dealloc`` to set :c:member:`PyTypeObject.tp_dealloc`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:243 | ||||
#: c-api/type.rst:273 | ||||
msgid "``Py_nb_add`` to set :c:member:`PyNumberMethods.nb_add`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:244 | ||||
#: c-api/type.rst:274 | ||||
msgid "``Py_sq_length`` to set :c:member:`PySequenceMethods.sq_length`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:246 | ||||
#: c-api/type.rst:276 | ||||
msgid "" | ||||
"The following fields cannot be set at all using :c:type:`PyType_Spec` and :c:" | ||||
"type:`PyType_Slot`:" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:249 | ||||
#: c-api/type.rst:279 | ||||
msgid ":c:member:`~PyTypeObject.tp_dict`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:250 | ||||
#: c-api/type.rst:280 | ||||
msgid ":c:member:`~PyTypeObject.tp_mro`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:251 | ||||
#: c-api/type.rst:281 | ||||
msgid ":c:member:`~PyTypeObject.tp_cache`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:252 | ||||
#: c-api/type.rst:282 | ||||
msgid ":c:member:`~PyTypeObject.tp_subclasses`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:253 | ||||
#: c-api/type.rst:283 | ||||
msgid ":c:member:`~PyTypeObject.tp_weaklist`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:254 | ||||
#: c-api/type.rst:284 | ||||
msgid ":c:member:`~PyTypeObject.tp_vectorcall`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:255 | ||||
#: c-api/type.rst:285 | ||||
msgid "" | ||||
":c:member:`~PyTypeObject.tp_weaklistoffset` (see :ref:`PyMemberDef " | ||||
"<pymemberdef-offsets>`)" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:257 | ||||
#: c-api/type.rst:287 | ||||
msgid "" | ||||
":c:member:`~PyTypeObject.tp_dictoffset` (see :ref:`PyMemberDef <pymemberdef-" | ||||
"offsets>`)" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:259 | ||||
#: c-api/type.rst:289 | ||||
msgid "" | ||||
":c:member:`~PyTypeObject.tp_vectorcall_offset` (see :ref:`PyMemberDef " | ||||
"<pymemberdef-offsets>`)" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:262 | ||||
msgid "" | ||||
"The following fields cannot be set using :c:type:`PyType_Spec` and :c:type:" | ||||
"`PyType_Slot` under the limited API:" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:265 | ||||
msgid ":c:member:`~PyBufferProcs.bf_getbuffer`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:266 | ||||
msgid ":c:member:`~PyBufferProcs.bf_releasebuffer`" | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:268 | ||||
#: c-api/type.rst:292 | ||||
msgid "" | ||||
"Setting :c:data:`Py_tp_bases` or :c:data:`Py_tp_base` may be problematic on " | ||||
"some platforms. To avoid issues, use the *bases* argument of :py:func:" | ||||
"`PyType_FromSpecWithBases` instead." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:275 | ||||
#: c-api/type.rst:299 | ||||
msgid "Slots in :c:type:`PyBufferProcs` in may be set in the unlimited API." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:279 | ||||
#: c-api/type.rst:301 | ||||
msgid "" | ||||
":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." | ||||
"bf_releasebuffer` are now available under limited API." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:308 | ||||
msgid "" | ||||
"The desired value of the slot. In most cases, this is a pointer to a " | ||||
"function." | ||||
msgstr "" | ||||
| ||||
#: c-api/type.rst:282 | ||||
#: c-api/type.rst:311 | ||||
msgid "Slots other than ``Py_tp_doc`` may not be ``NULL``." | ||||
msgstr "" | ||||
| | | |||
714 c-api/typeobj.po
714
c-api/typeobj.po File diff suppressed because it is too large Load diff
726 c-api/unicode.po
726
c-api/unicode.po File diff suppressed because it is too large Load diff
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||
"POT-Creation-Date: 2022-03-23 18:39+0100\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" | ||||
| | @ -94,16 +94,17 @@ msgid "" | |||
"`PyRun_InteractiveLoop`, otherwise return the result of :c:func:" | ||||
"`PyRun_SimpleFile`. *filename* is decoded from the filesystem encoding (:" | ||||
"func:`sys.getfilesystemencoding`). If *filename* is ``NULL``, this function " | ||||
"uses ``\"???\"`` as the filename." | ||||
"uses ``\"???\"`` as the filename. If *closeit* is true, the file is closed " | ||||
"before ``PyRun_SimpleFileExFlags()`` returns." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:82 | ||||
#: c-api/veryhigh.rst:84 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_SimpleStringFlags` below, " | ||||
"leaving the :c:type:`PyCompilerFlags`\\* argument set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:88 | ||||
#: c-api/veryhigh.rst:90 | ||||
msgid "" | ||||
"Executes the Python source code from *command* in the :mod:`__main__` module " | ||||
"according to the *flags* argument. If :mod:`__main__` does not already " | ||||
| | @ -112,26 +113,26 @@ msgid "" | |||
"information. For the meaning of *flags*, see below." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:94 | ||||
#: c-api/veryhigh.rst:96 | ||||
msgid "" | ||||
"Note that if an otherwise unhandled :exc:`SystemExit` is raised, this " | ||||
"function will not return ``-1``, but exit the process, as long as " | ||||
"``Py_InspectFlag`` is not set." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:101 | ||||
#: c-api/veryhigh.rst:103 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, " | ||||
"leaving *closeit* set to ``0`` and *flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:107 | ||||
#: c-api/veryhigh.rst:109 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_SimpleFileExFlags` below, " | ||||
"leaving *flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:113 | ||||
#: c-api/veryhigh.rst:115 | ||||
msgid "" | ||||
"Similar to :c:func:`PyRun_SimpleStringFlags`, but the Python source code is " | ||||
"read from *fp* instead of an in-memory string. *filename* should be the name " | ||||
| | @ -140,20 +141,20 @@ msgid "" | |||
"``PyRun_SimpleFileExFlags()`` returns." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:120 | ||||
#: c-api/veryhigh.rst:122 | ||||
msgid "" | ||||
"On Windows, *fp* should be opened as binary mode (e.g. ``fopen(filename, \"rb" | ||||
"\")``). Otherwise, Python may not handle script file with LF line ending " | ||||
"On Windows, *fp* should be opened as binary mode (e.g. ``fopen(filename, " | ||||
"\"rb\")``). Otherwise, Python may not handle script file with LF line ending " | ||||
"correctly." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:126 | ||||
#: c-api/veryhigh.rst:128 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_InteractiveOneFlags` below, " | ||||
"leaving *flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:132 | ||||
#: c-api/veryhigh.rst:134 | ||||
msgid "" | ||||
"Read and execute a single statement from a file associated with an " | ||||
"interactive device according to the *flags* argument. The user will be " | ||||
| | @ -161,7 +162,7 @@ msgid "" | |||
"term:`filesystem encoding and error handler`." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:137 | ||||
#: c-api/veryhigh.rst:139 | ||||
msgid "" | ||||
"Returns ``0`` when the input was executed successfully, ``-1`` if there was " | ||||
"an exception, or an error code from the :file:`errcode.h` include file " | ||||
| | @ -170,13 +171,13 @@ msgid "" | |||
"specifically if needed.)" | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:146 | ||||
#: c-api/veryhigh.rst:148 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_InteractiveLoopFlags` " | ||||
"below, leaving *flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:152 | ||||
#: c-api/veryhigh.rst:154 | ||||
msgid "" | ||||
"Read and execute statements from a file associated with an interactive " | ||||
"device until EOF is reached. The user will be prompted using ``sys.ps1`` " | ||||
| | @ -184,7 +185,7 @@ msgid "" | |||
"and error handler`. Returns ``0`` at EOF or a negative number upon failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:160 | ||||
#: c-api/veryhigh.rst:162 | ||||
msgid "" | ||||
"Can be set to point to a function with the prototype ``int func(void)``. " | ||||
"The function will be called when Python's interpreter prompt is about to " | ||||
| | @ -194,7 +195,7 @@ msgid "" | |||
"the Python source code." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:171 | ||||
#: c-api/veryhigh.rst:173 | ||||
msgid "" | ||||
"Can be set to point to a function with the prototype ``char *func(FILE " | ||||
"*stdin, FILE *stdout, char *prompt)``, overriding the default function used " | ||||
| | @ -205,26 +206,26 @@ msgid "" | |||
"line-editing and tab-completion features." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:180 | ||||
#: c-api/veryhigh.rst:182 | ||||
msgid "" | ||||
"The result must be a string allocated by :c:func:`PyMem_RawMalloc` or :c:" | ||||
"func:`PyMem_RawRealloc`, or ``NULL`` if an error occurred." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:183 | ||||
#: c-api/veryhigh.rst:185 | ||||
msgid "" | ||||
"The result must be allocated by :c:func:`PyMem_RawMalloc` or :c:func:" | ||||
"`PyMem_RawRealloc`, instead of being allocated by :c:func:`PyMem_Malloc` or :" | ||||
"c:func:`PyMem_Realloc`." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:190 | ||||
#: c-api/veryhigh.rst:192 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_StringFlags` below, leaving " | ||||
"*flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:196 | ||||
#: c-api/veryhigh.rst:198 | ||||
msgid "" | ||||
"Execute Python source code from *str* in the context specified by the " | ||||
"objects *globals* and *locals* with the compiler flags specified by " | ||||
| | @ -233,31 +234,31 @@ msgid "" | |||
"token that should be used to parse the source code." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:202 | ||||
#: c-api/veryhigh.rst:204 | ||||
msgid "" | ||||
"Returns the result of executing the code as a Python object, or ``NULL`` if " | ||||
"an exception was raised." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:208 | ||||
#: c-api/veryhigh.rst:210 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " | ||||
"*closeit* set to ``0`` and *flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:214 | ||||
#: c-api/veryhigh.rst:216 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " | ||||
"*flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:220 | ||||
#: c-api/veryhigh.rst:222 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyRun_FileExFlags` below, leaving " | ||||
"*closeit* set to ``0``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:226 | ||||
#: c-api/veryhigh.rst:228 | ||||
msgid "" | ||||
"Similar to :c:func:`PyRun_StringFlags`, but the Python source code is read " | ||||
"from *fp* instead of an in-memory string. *filename* should be the name of " | ||||
| | @ -266,19 +267,19 @@ msgid "" | |||
"`PyRun_FileExFlags` returns." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:235 | ||||
#: c-api/veryhigh.rst:237 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`Py_CompileStringFlags` below, " | ||||
"leaving *flags* set to ``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:241 | ||||
#: c-api/veryhigh.rst:243 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`Py_CompileStringExFlags` below, " | ||||
"with *optimize* set to ``-1``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:247 | ||||
#: c-api/veryhigh.rst:249 | ||||
msgid "" | ||||
"Parse and compile the Python source code in *str*, returning the resulting " | ||||
"code object. The start token is given by *start*; this can be used to " | ||||
| | @ -289,7 +290,7 @@ msgid "" | |||
"returns ``NULL`` if the code cannot be parsed or compiled." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:255 | ||||
#: c-api/veryhigh.rst:257 | ||||
msgid "" | ||||
"The integer *optimize* specifies the optimization level of the compiler; a " | ||||
"value of ``-1`` selects the optimization level of the interpreter as given " | ||||
| | @ -298,20 +299,20 @@ msgid "" | |||
"or ``2`` (docstrings are removed too)." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:266 | ||||
#: c-api/veryhigh.rst:268 | ||||
msgid "" | ||||
"Like :c:func:`Py_CompileStringObject`, but *filename* is a byte string " | ||||
"decoded from the :term:`filesystem encoding and error handler`." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:273 | ||||
#: c-api/veryhigh.rst:275 | ||||
msgid "" | ||||
"This is a simplified interface to :c:func:`PyEval_EvalCodeEx`, with just the " | ||||
"code object, and global and local variables. The other arguments are set to " | ||||
"``NULL``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:280 | ||||
#: c-api/veryhigh.rst:282 | ||||
msgid "" | ||||
"Evaluate a precompiled code object, given a particular environment for its " | ||||
"evaluation. This environment consists of a dictionary of global variables, " | ||||
| | @ -320,22 +321,13 @@ msgid "" | |||
"only_parameter>` arguments and a closure tuple of cells." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:289 | ||||
#, fuzzy | ||||
msgid "" | ||||
"The C structure of the objects used to describe frame objects. The fields of " | ||||
"this type are subject to change at any time." | ||||
msgstr "" | ||||
"La structure C utilisée pour décrire les objets *Code*. Les attributs de " | ||||
"cette structure sont sujets à changer à tout moment." | ||||
| ||||
#: c-api/veryhigh.rst:295 | ||||
#: c-api/veryhigh.rst:291 | ||||
msgid "" | ||||
"Evaluate an execution frame. This is a simplified interface to :c:func:" | ||||
"`PyEval_EvalFrameEx`, for backward compatibility." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:301 | ||||
#: c-api/veryhigh.rst:297 | ||||
msgid "" | ||||
"This is the main, unvarnished function of Python interpretation. The code " | ||||
"object associated with the execution frame *f* is executed, interpreting " | ||||
| | @ -345,7 +337,7 @@ msgid "" | |||
"of generator objects." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:308 | ||||
#: c-api/veryhigh.rst:304 | ||||
msgid "" | ||||
"This function now includes a debug assertion to help ensure that it does not " | ||||
"silently discard an active exception." | ||||
| | @ -353,33 +345,33 @@ msgstr "" | |||
"Cette fonction inclut maintenant une assertion de débogage afin d'assurer " | ||||
"qu'elle ne passe pas sous silence une exception active." | ||||
| ||||
#: c-api/veryhigh.rst:315 | ||||
#: c-api/veryhigh.rst:311 | ||||
msgid "" | ||||
"This function changes the flags of the current evaluation frame, and returns " | ||||
"true on success, false on failure." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:323 | ||||
#: c-api/veryhigh.rst:319 | ||||
msgid "" | ||||
"The start symbol from the Python grammar for isolated expressions; for use " | ||||
"with :c:func:`Py_CompileString`." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:331 | ||||
#: c-api/veryhigh.rst:327 | ||||
msgid "" | ||||
"The start symbol from the Python grammar for sequences of statements as read " | ||||
"from a file or other source; for use with :c:func:`Py_CompileString`. This " | ||||
"is the symbol to use when compiling arbitrarily long Python source code." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:340 | ||||
#: c-api/veryhigh.rst:336 | ||||
msgid "" | ||||
"The start symbol from the Python grammar for a single statement; for use " | ||||
"with :c:func:`Py_CompileString`. This is the symbol used for the interactive " | ||||
"interpreter loop." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:347 | ||||
#: c-api/veryhigh.rst:343 | ||||
msgid "" | ||||
"This is the structure used to hold compiler flags. In cases where code is " | ||||
"only being compiled, it is passed as ``int flags``, and in cases where code " | ||||
| | @ -387,35 +379,43 @@ msgid "" | |||
"case, ``from __future__ import`` can modify *flags*." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:352 | ||||
#: c-api/veryhigh.rst:348 | ||||
msgid "" | ||||
"Whenever ``PyCompilerFlags *flags`` is ``NULL``, :attr:`cf_flags` is treated " | ||||
"as equal to ``0``, and any modification due to ``from __future__ import`` is " | ||||
"discarded." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:358 | ||||
#: c-api/veryhigh.rst:354 | ||||
msgid "Compiler flags." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:362 | ||||
#: c-api/veryhigh.rst:358 | ||||
msgid "" | ||||
"*cf_feature_version* is the minor Python version. It should be initialized " | ||||
"to ``PY_MINOR_VERSION``." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:365 | ||||
#: c-api/veryhigh.rst:361 | ||||
msgid "" | ||||
"The field is ignored by default, it is used if and only if ``PyCF_ONLY_AST`` " | ||||
"flag is set in *cf_flags*." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:368 | ||||
#: c-api/veryhigh.rst:364 | ||||
msgid "Added *cf_feature_version* field." | ||||
msgstr "" | ||||
| ||||
#: c-api/veryhigh.rst:374 | ||||
#: c-api/veryhigh.rst:370 | ||||
msgid "" | ||||
"This bit can be set in *flags* to cause division operator ``/`` to be " | ||||
"interpreted as \"true division\" according to :pep:`238`." | ||||
msgstr "" | ||||
| ||||
#, fuzzy | ||||
#~ msgid "" | ||||
#~ "The C structure of the objects used to describe frame objects. The fields " | ||||
#~ "of this type are subject to change at any time." | ||||
#~ msgstr "" | ||||
#~ "La structure C utilisée pour décrire les objets *Code*. Les attributs de " | ||||
#~ "cette structure sont sujets à changer à tout moment." | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue