Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7bdde2

Browse files
committed
Merge from 3.6.
1 parent 09de616 commit b7bdde2

File tree

143 files changed

+6121
-1106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+6121
-1106
lines changed

bugs.po

+10-10
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ msgstr ""
5353
"Si vous trouvez un bogue dans cette documentation ou si vous désirez "
5454
"proposer une amélioration, si cela concerne aussi la documentation en "
5555
"anglais, ouvrez un rapport sur le :ref:`tracker <using-the-tracker>` "
56-
"décrivant le bogue et où vous l'avez trouvé, si le problème ne touche que la "
57-
"traduction en français, envoyez un e-mail à [email protected] ou "
58-
"ouvrez un ticket sur `github <https://github.com/AFPy/python_doc_fr/"
59-
"issues>`_. Si vous avez une suggestion de correction, merci de l'inclure "
60-
"également."
56+
"décrivant en anglais le bogue et où vous l'avez trouvé. Si le problème ne "
57+
"touche que la traduction en français, ouvrez un ticket sur https://github."
58+
"com/python/python-docs-fr/issues, ou venez nous en toucher un mot sur le "
59+
"canal #python-fr sur freenode (https://webchat.freenode.net/). Si vous avez "
60+
"une suggestion de correction, merci de l'inclure également."
6161

6262
#: ../Doc/bugs.rst:22
6363
msgid ""
@@ -118,11 +118,11 @@ msgid ""
118118
"report anonymously."
119119
msgstr ""
120120
"Si le problème que vous soumettez n'est pas déjà dans le bug tracker, "
121-
"retournez au Python Bug Tracker et connectez-vous. Si vous n'avez pas déjà "
122-
"un compte pour le tracker, cliquez sur le lien \"S'enregistrer\", ou, si "
123-
"vous utilisez OpenID, sur l'un des logos des fournisseurs OpenID dans la "
124-
"barre latérale. Il n'est pas possible de soumettre un rapport de bug de "
125-
"manière anonyme."
121+
"revenez au Python Bug Tracker et connectez-vous. Si vous n'avez pas déjà un "
122+
"compte pour le tracker, cliquez sur le lien \"S'enregistrer\", ou, si vous "
123+
"utilisez OpenID, sur l'un des logos des fournisseurs OpenID dans la barre "
124+
"latérale. Il n'est pas possible de soumettre un rapport de bug de manière "
125+
"anonyme."
126126

127127
#: ../Doc/bugs.rst:51
128128
msgid ""

c-api/allocation.po

+26-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ msgid ""
2929
"affected."
3030
msgstr ""
3131
"Permet d'initialiser un objet *op* nouvellement alloué ainsi que son type et "
32-
"sa référence initiale. Retourne l'objet initialisé. La présence de *type* "
32+
"sa référence initiale. Renvoie l'objet initialisé. La présence de *type* "
3333
"indique que l'objet doit être traité par le détecteur d'ordures cycliques, "
3434
"il est de ce fait ajouté à l'ensemble du détecteur d'objets observés. Les "
3535
"autres champs de l'objet ne sont pas affectés."
@@ -39,6 +39,8 @@ msgid ""
3939
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4040
"length information for a variable-size object."
4141
msgstr ""
42+
"Ça fait tout ce que :c:func:`PyObject_Init` fait, et il initialise également "
43+
"l'information de la longueur pour un objet de taille variable."
4244

4345
#: ../Doc/c-api/allocation.rst:32
4446
msgid ""
@@ -48,6 +50,11 @@ msgid ""
4850
"the memory allocation is determined from the :c:member:`~PyTypeObject."
4951
"tp_basicsize` field of the type object."
5052
msgstr ""
53+
"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
54+
"l'objet de type python *type*. Les champs non définis par l'en-tête de "
55+
"l'objet Python ne sont pas initialisés; le compteur de la référence objet "
56+
"sera un. La taille de l'allocation de la mémoire est déterminé par le champs "
57+
"de l'objet type :c:member:`~PyTypeObject.tp_basicsize`."
5158

5259
#: ../Doc/c-api/allocation.rst:41
5360
msgid ""
@@ -60,6 +67,15 @@ msgid ""
6067
"Embedding the array of fields into the same allocation decreases the number "
6168
"of allocations, improving the memory management efficiency."
6269
msgstr ""
70+
"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
71+
"l'objet de type Python *type*. Les champs non définis par l'en-tête de "
72+
"l'objet Python ne sont pas initialisés. La mémoire allouée autorise pour la "
73+
"structure *TYPE* plus *size* champs de la taille donnée par le champ de "
74+
"*type* :c:member:`~PyTypeObject.tp_itemsize`. C'est utile pour "
75+
"l'implémentation d'objets comme les tuples, qui sont capables de déterminer "
76+
"leur taille durant le temps de la construction. Intégrer l'array de champs "
77+
"dans la même allocation diminue le nombre d'allocations, mettant à l'épreuve "
78+
"l'efficacité de la gestion de la mémoire."
6379

6480
#: ../Doc/c-api/allocation.rst:53
6581
msgid ""
@@ -69,17 +85,25 @@ msgid ""
6985
"fields of the object should not be accessed after this call as the memory is "
7086
"no longer a valid Python object."
7187
msgstr ""
88+
"Libère la mémoire allouée à un objet utilisant :c:func:`PyObject_New` ou :c:"
89+
"func:`PyObject_NewVar`. C'est normalement appelé par le gestionnaire :c:"
90+
"member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Le champ de "
91+
"l'objet ne devrait pas être accessible après cet appel puisque la mémoire "
92+
"n'est plus un objet Python valide."
7293

7394
#: ../Doc/c-api/allocation.rst:62
7495
msgid ""
7596
"Object which is visible in Python as ``None``. This should only be accessed "
7697
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
7798
"object."
7899
msgstr ""
100+
"Objet qui est visible en tant que ``None`` dans Python. Ne devrait être "
101+
"accessible uniquement en utilisant la macro :c:macro:`Py_None`, qui évalue "
102+
"cet objet à un pointeur."
79103

80104
#: ../Doc/c-api/allocation.rst:69
81105
msgid ":c:func:`PyModule_Create`"
82-
msgstr ""
106+
msgstr ":c:func:`PyModule_Create`"
83107

84108
#: ../Doc/c-api/allocation.rst:70
85109
msgid "To allocate and create extension modules."

c-api/apiabiversion.po

+17-7
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,24 @@ msgstr ""
1818

1919
#: ../Doc/c-api/apiabiversion.rst:7
2020
msgid "API and ABI Versioning"
21-
msgstr ""
21+
msgstr "Version des API et ABI"
2222

2323
#: ../Doc/c-api/apiabiversion.rst:9
2424
msgid ""
2525
"``PY_VERSION_HEX`` is the Python version number encoded in a single integer."
2626
msgstr ""
27+
"``PY_VERSION_HEX`` est le numéro de version de Python encodé en un seul "
28+
"entier."
2729

2830
#: ../Doc/c-api/apiabiversion.rst:11
2931
msgid ""
3032
"For example if the ``PY_VERSION_HEX`` is set to ``0x030401a2``, the "
3133
"underlying version information can be found by treating it as a 32 bit "
3234
"number in the following manner:"
3335
msgstr ""
36+
"Par exemple si le ``PY_VERSION_HEX` est défini à ``0x030401a2``, la "
37+
"version d'information sous-jacente peut être trouvée en la traitant comme un "
38+
"nombre sous 32 bits de la manière suivante:"
3439

3540
#: ../Doc/c-api/apiabiversion.rst:16
3641
msgid "Bytes"
@@ -50,7 +55,7 @@ msgstr "``1``"
5055

5156
#: ../Doc/c-api/apiabiversion.rst:18
5257
msgid "``1-8``"
53-
msgstr ""
58+
msgstr "``1-8``"
5459

5560
#: ../Doc/c-api/apiabiversion.rst:18
5661
msgid "``PY_MAJOR_VERSION`` (the ``3`` in ``3.4.1a2``)"
@@ -62,7 +67,7 @@ msgstr "``2``"
6267

6368
#: ../Doc/c-api/apiabiversion.rst:21
6469
msgid "``9-16``"
65-
msgstr ""
70+
msgstr "``9-16``"
6671

6772
#: ../Doc/c-api/apiabiversion.rst:21
6873
msgid "``PY_MINOR_VERSION`` (the ``4`` in ``3.4.1a2``)"
@@ -74,7 +79,7 @@ msgstr "``3``"
7479

7580
#: ../Doc/c-api/apiabiversion.rst:24
7681
msgid "``17-24``"
77-
msgstr ""
82+
msgstr "``17-24``"
7883

7984
#: ../Doc/c-api/apiabiversion.rst:24
8085
msgid "``PY_MICRO_VERSION`` (the ``1`` in ``3.4.1a2``)"
@@ -86,27 +91,32 @@ msgstr "``4``"
8691

8792
#: ../Doc/c-api/apiabiversion.rst:27
8893
msgid "``25-28``"
89-
msgstr ""
94+
msgstr "``25-28``"
9095

9196
#: ../Doc/c-api/apiabiversion.rst:27
9297
msgid ""
9398
"``PY_RELEASE_LEVEL`` (``0xA`` for alpha, ``0xB`` for beta, ``0xC`` for "
9499
"release candidate and ``0xF`` for final), in this case it is alpha."
95100
msgstr ""
101+
"``PY_RELEASE_LEVEL`` (``0xA`` pour alpha, ``0xB`` pour bêta, ``0xC`` pour "
102+
"une version candidate et ``0xF`` pour final), dans ce cas c'est alpha."
96103

97104
#: ../Doc/c-api/apiabiversion.rst:32
98105
msgid "``29-32``"
99-
msgstr ""
106+
msgstr "``29-32``"
100107

101108
#: ../Doc/c-api/apiabiversion.rst:32
102109
msgid ""
103110
"``PY_RELEASE_SERIAL`` (the ``2`` in ``3.4.1a2``, zero for final releases)"
104111
msgstr ""
112+
"``PY_RELEASE_SERIAL`` (le ``2`` au ``3.4.1a2``, zéro pour des versions "
113+
"finales)"
105114

106115
#: ../Doc/c-api/apiabiversion.rst:36
107116
msgid "Thus ``3.4.1a2`` is hexversion ``0x030401a2``."
108-
msgstr ""
117+
msgstr "Ainsi ``3.4.1a2`` est une hexane-version ``0x030401a2``."
109118

110119
#: ../Doc/c-api/apiabiversion.rst:38
111120
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
112121
msgstr ""
122+
"Toutes les macros données sont définies dans :source:`Include/patchlevel.h`."

c-api/arg.po

+8-4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ msgid ""
7878
"These formats allow accessing an object as a contiguous chunk of memory. You "
7979
"don't have to provide raw storage for the returned unicode or bytes area."
8080
msgstr ""
81+
"Ces formats permettent d'accéder à un objet sous forme d'un fragment de "
82+
"mémoire contigüe. Il n'est pas nécessaire d'allouer la mémoire pour "
83+
"l'*unicode* ou le *bytes* renvoyé."
8184

8285
#: ../Doc/c-api/arg.rst:37
8386
msgid ""
@@ -166,7 +169,7 @@ msgstr ""
166169

167170
#: ../Doc/c-api/arg.rst:91
168171
msgid "``s*`` (:class:`str` or :term:`bytes-like object`) [Py_buffer]"
169-
msgstr ""
172+
msgstr "``s*`` (:class:`str` ou :term:`bytes-like object`) [Py_buffer]"
170173

171174
#: ../Doc/c-api/arg.rst:88
172175
msgid ""
@@ -206,6 +209,7 @@ msgstr ""
206209
msgid ""
207210
"``z*`` (:class:`str`, :term:`bytes-like object` or ``None``) [Py_buffer]"
208211
msgstr ""
212+
"``z*`` (:class:`str`, :term:`bytes-like object` ou ``None``) [Py_buffer]"
209213

210214
#: ../Doc/c-api/arg.rst:105
211215
msgid ""
@@ -330,7 +334,7 @@ msgstr ""
330334

331335
#: ../Doc/c-api/arg.rst:165
332336
msgid "``Z#`` (:class:`str` or ``None``) [Py_UNICODE \\*, int]"
333-
msgstr ""
337+
msgstr "``Z#`` (:class:`str` ou ``None``) [Py_UNICODE \\*, int]"
334338

335339
#: ../Doc/c-api/arg.rst:164
336340
msgid ""
@@ -353,7 +357,7 @@ msgstr ""
353357

354358
#: ../Doc/c-api/arg.rst:176
355359
msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]"
356-
msgstr ""
360+
msgstr "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]"
357361

358362
#: ../Doc/c-api/arg.rst:173
359363
msgid ""
@@ -603,7 +607,7 @@ msgstr "Convertit un entier Python en un :c:type:`short int` C."
603607

604608
#: ../Doc/c-api/arg.rst:287
605609
msgid "``c`` (:class:`bytes` or :class:`bytearray` of length 1) [char]"
606-
msgstr ""
610+
msgstr "``c`` (:class:`bytes` ou :class:`bytearray` of length 1) [char]"
607611

608612
#: ../Doc/c-api/arg.rst:283
609613
msgid ""

c-api/bool.po

+13-1
Original file line numberDiff line numberDiff line change
@@ -35,34 +35,46 @@ msgstr ""
3535

3636
#: ../Doc/c-api/bool.rst:16
3737
msgid "Return true if *o* is of type :c:data:`PyBool_Type`."
38-
msgstr ""
38+
msgstr "Renvoie vrai si *o* est de type :c:data:`PyBook_Type`."
3939

4040
#: ../Doc/c-api/bool.rst:21
4141
msgid ""
4242
"The Python ``False`` object. This object has no methods. It needs to be "
4343
"treated just like any other object with respect to reference counts."
4444
msgstr ""
45+
"L'objet Python ``False``. Cet objet n'a pas de méthodes. En ce qui concerne "
46+
"le comptage de référence, il doit être traité comme n'importe quel autre "
47+
"objet."
4548

4649
#: ../Doc/c-api/bool.rst:27
4750
msgid ""
4851
"The Python ``True`` object. This object has no methods. It needs to be "
4952
"treated just like any other object with respect to reference counts."
5053
msgstr ""
54+
"L'objet Python ``True``. Cet objet n'a pas de méthodes. En ce qui concerne "
55+
"le comptage de références, il doit être traité comme n'importe quel autre "
56+
"objet."
5157

5258
#: ../Doc/c-api/bool.rst:33
5359
msgid ""
5460
"Return :const:`Py_False` from a function, properly incrementing its "
5561
"reference count."
5662
msgstr ""
63+
"Renvoie :const:`Py_False` depuis une fonction tout en incrémentant son "
64+
"nombre de références."
5765

5866
#: ../Doc/c-api/bool.rst:39
5967
msgid ""
6068
"Return :const:`Py_True` from a function, properly incrementing its reference "
6169
"count."
6270
msgstr ""
71+
"Renvoie :const:`Py_True` depuis une fonction, en incrémentant son nombre de "
72+
"références."
6373

6474
#: ../Doc/c-api/bool.rst:45
6575
msgid ""
6676
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
6777
"the truth value of *v*."
6878
msgstr ""
79+
"Renvoie une nouvelle référence de :const:`Py_True` ou :const:`Py_False` en "
80+
"fonction de la valeur de *v*."

c-api/bytearray.po

+14-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ msgstr "Objets Tableau d'Octets"
2424
msgid ""
2525
"This subtype of :c:type:`PyObject` represents a Python bytearray object."
2626
msgstr ""
27+
"Ce sous-type e :c:type:`PyObject` représente un objet bytearray Python."
2728

2829
#: ../Doc/c-api/bytearray.rst:18
2930
msgid ""
@@ -40,12 +41,16 @@ msgid ""
4041
"Return true if the object *o* is a bytearray object or an instance of a "
4142
"subtype of the bytearray type."
4243
msgstr ""
44+
"Renvoie la valeur true (vrai) si l'objet *o* est un objet bytearray ou une "
45+
"instance d'un sous-type du type bytearray."
4346

4447
#: ../Doc/c-api/bytearray.rst:33
4548
msgid ""
4649
"Return true if the object *o* is a bytearray object, but not an instance of "
4750
"a subtype of the bytearray type."
4851
msgstr ""
52+
"Renvoie la valeur true si l'objet *o* est un objet bytearray, mais pas une "
53+
"instance d'un sous-type du type bytearray."
4954

5055
#: ../Doc/c-api/bytearray.rst:38
5156
msgid "Direct API functions"
@@ -62,15 +67,21 @@ msgid ""
6267
"Create a new bytearray object from *string* and its length, *len*. On "
6368
"failure, *NULL* is returned."
6469
msgstr ""
70+
"Crée un nouvel objet bytearray à partir d'un objet *string* et de sa "
71+
"longueur, *len*. En cas d'échec, *NULL* est renvoyé."
6572

6673
#: ../Doc/c-api/bytearray.rst:56
6774
msgid ""
6875
"Concat bytearrays *a* and *b* and return a new bytearray with the result."
6976
msgstr ""
77+
"Concatène les bytearrays *a* et *b* et renvoit un nouveau bytearray avec le "
78+
"résultat."
7079

7180
#: ../Doc/c-api/bytearray.rst:61
7281
msgid "Return the size of *bytearray* after checking for a *NULL* pointer."
7382
msgstr ""
83+
"Renvoit la taille de *bytearray* après vérification de la présence d'un "
84+
"pointeur *NULL*."
7485

7586
#: ../Doc/c-api/bytearray.rst:66
7687
msgid ""
@@ -80,7 +91,7 @@ msgstr ""
8091

8192
#: ../Doc/c-api/bytearray.rst:73
8293
msgid "Resize the internal buffer of *bytearray* to *len*."
83-
msgstr ""
94+
msgstr "Redimensionne le buffer interne de *bytearray* à la taille *len*."
8495

8596
#: ../Doc/c-api/bytearray.rst:76
8697
msgid "Macros"
@@ -94,8 +105,8 @@ msgstr ""
94105

95106
#: ../Doc/c-api/bytearray.rst:82
96107
msgid "Macro version of :c:func:`PyByteArray_AsString`."
97-
msgstr ""
108+
msgstr "Version macro de :c:func:`PyByteArray_AsString`."
98109

99110
#: ../Doc/c-api/bytearray.rst:87
100111
msgid "Macro version of :c:func:`PyByteArray_Size`."
101-
msgstr ""
112+
msgstr "Version macro de :c:func:`PyByteArray_Size`."

c-api/bytes.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgstr ""
1818

1919
#: ../Doc/c-api/bytes.rst:6
2020
msgid "Bytes Objects"
21-
msgstr "Objets bytes"
21+
msgstr "Objets *Bytes*"
2222

2323
#: ../Doc/c-api/bytes.rst:8
2424
msgid ""
@@ -78,7 +78,7 @@ msgstr ""
7878

7979
#: ../Doc/c-api/bytes.rst:68
8080
msgid "Type"
81-
msgstr ""
81+
msgstr "Type"
8282

8383
#: ../Doc/c-api/bytes.rst:68
8484
msgid "Comment"
@@ -103,7 +103,7 @@ msgstr ""
103103
#: ../Doc/c-api/bytes.rst:72 ../Doc/c-api/bytes.rst:75
104104
#: ../Doc/c-api/bytes.rst:93 ../Doc/c-api/bytes.rst:96
105105
msgid "int"
106-
msgstr "int"
106+
msgstr "*int*"
107107

108108
#: ../Doc/c-api/bytes.rst:72
109109
msgid "A single byte, represented as a C int."

0 commit comments

Comments
 (0)