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

Skip to content

Commit 6ab4228

Browse files
author
Mathieu Dupuy
committed
Merge branch '3.8' into vvenance_hmac
2 parents 15111c6 + bb3d1c1 commit 6ab4228

File tree

233 files changed

+1605
-805
lines changed

Some content is hidden

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

233 files changed

+1605
-805
lines changed

CONTRIBUTING.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ où vous avez le droit de faire des modifications.
2121
.. code-block:: bash
2222
2323
# Clonez votre fork Github avec `git` en utilisant ssh :
24-
git clone [email protected]/VOTRE_NOM_DE_COMPTE_GITHUB/python-docs-fr.git
24+
git clone [email protected]:VOTRE_NOM_DE_COMPTE_GITHUB/python-docs-fr.git
2525
2626
# *OU* HTTPS :
2727
git clone https://github.com/VOTRE_NOM_DE_COMPTE_GITHUB/python-docs-fr.git
@@ -241,7 +241,6 @@ debugging débogage
241241
deep copy copie récursive (préféré), ou copie profonde
242242
double quote guillemet
243243
deprecated obsolète
244-
-like -compatible
245244
e.g. p. ex. (on n'utilise pas l'anglicisme « e.g. »,
246245
lui-même issu du latin *exempli gratia*).
247246
On sépare les deux mots par une espace
@@ -399,6 +398,18 @@ En français, nous mettons une espace insécable devant nos deux-points, comme :
399398

400399
Pour saisir une espace insécable faites : :kbd:`Compose SPACE SPACE`
401400

401+
Le cas des doubles espaces
402+
~~~~~~~~~~~~~~~~~~~~~~~~~~
403+
404+
La documentation originale comporte beaucoup de double-espaces.
405+
Cela se fait en anglais, mais pas en français. De toute manière,
406+
ils passent ensuite à une moulinette et le rendu des espaces est délégué
407+
au HTML et au PDF, qui n'en tiennent pas compte.
408+
Nous avons décidé de ne rien changer pour les double-espaces
409+
coté traduction : nous ne les retirons pas et ce n'est pas grave
410+
si des traducteurs en retirent par accident.
411+
412+
402413
Outils utiles pour la traduction
403414
--------------------------------
404415

c-api/arg.po

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,18 +584,22 @@ msgid "``L`` (:class:`int`) [long long]"
584584
msgstr "``L`` (:class:`int`) [``long long``]"
585585

586586
#: ../Doc/c-api/arg.rst:285
587+
#, fuzzy
587588
msgid "Convert a Python integer to a C :c:type:`long long`."
588-
msgstr ""
589+
msgstr "Convertit un entier Python en un :c:type:`long int`."
589590

590591
#: ../Doc/c-api/arg.rst:289 ../Doc/c-api/arg.rst:615
591592
msgid "``K`` (:class:`int`) [unsigned long long]"
592593
msgstr "``K`` (:class:`int`) [``unsigned long long``]"
593594

594595
#: ../Doc/c-api/arg.rst:288
596+
#, fuzzy
595597
msgid ""
596598
"Convert a Python integer to a C :c:type:`unsigned long long` without "
597599
"overflow checking."
598600
msgstr ""
601+
"Convertit un entier Python en un :c:type:`unsigned long` C sans en vérifier "
602+
"le débordement."
599603

600604
#: ../Doc/c-api/arg.rst:292 ../Doc/c-api/arg.rst:618
601605
msgid "``n`` (:class:`int`) [Py_ssize_t]"
@@ -1076,8 +1080,9 @@ msgid "``U#`` (:class:`str` or ``None``) [const char \\*, int]"
10761080
msgstr "``U#`` (:class:`str` ou ``None``) [``const char *``, ``int``]"
10771081

10781082
#: ../Doc/c-api/arg.rst:588
1083+
#, fuzzy
10791084
msgid "Convert a plain C :c:type:`int` to a Python integer object."
1080-
msgstr ""
1085+
msgstr "Convertit un :c:type:`long int` en un *int* Python."
10811086

10821087
#: ../Doc/c-api/arg.rst:591
10831088
msgid "``b`` (:class:`int`) [char]"
@@ -1104,16 +1109,18 @@ msgid "Convert a C :c:type:`unsigned short int` to a Python integer object."
11041109
msgstr ""
11051110

11061111
#: ../Doc/c-api/arg.rst:606
1112+
#, fuzzy
11071113
msgid "Convert a C :c:type:`unsigned int` to a Python integer object."
1108-
msgstr ""
1114+
msgstr "Convertit un :c:type:`long int` en un *int* Python."
11091115

11101116
#: ../Doc/c-api/arg.rst:609
11111117
msgid "Convert a C :c:type:`unsigned long` to a Python integer object."
11121118
msgstr ""
11131119

11141120
#: ../Doc/c-api/arg.rst:612
1121+
#, fuzzy
11151122
msgid "Convert a C :c:type:`long long` to a Python integer object."
1116-
msgstr ""
1123+
msgstr "Convertit un :c:type:`long int` en un *int* Python."
11171124

11181125
#: ../Doc/c-api/arg.rst:615
11191126
msgid "Convert a C :c:type:`unsigned long long` to a Python integer object."

c-api/bytes.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,37 @@ msgid ""
2525
msgstr ""
2626

2727
#: ../Doc/c-api/bytes.rst:16
28+
#, fuzzy
2829
msgid "This subtype of :c:type:`PyObject` represents a Python bytes object."
2930
msgstr ""
31+
"Ce sous-type de :c:type:`PyObject` représente un objet ``bytearray`` Python."
3032

3133
#: ../Doc/c-api/bytes.rst:21
34+
#, fuzzy
3235
msgid ""
3336
"This instance of :c:type:`PyTypeObject` represents the Python bytes type; it "
3437
"is the same object as :class:`bytes` in the Python layer."
3538
msgstr ""
39+
"Cette instance de :c:type:`PyTypeObject` représente le type Python "
40+
"*bytearray*, c'est le même que :class:`bytearray` côté Python."
3641

3742
#: ../Doc/c-api/bytes.rst:27
43+
#, fuzzy
3844
msgid ""
3945
"Return true if the object *o* is a bytes object or an instance of a subtype "
4046
"of the bytes type."
4147
msgstr ""
48+
"Renvoie vrai si l'objet *o* est un ``bytearray`` ou une instance d'un sous-"
49+
"type du type ``bytearray``."
4250

4351
#: ../Doc/c-api/bytes.rst:33
52+
#, fuzzy
4453
msgid ""
4554
"Return true if the object *o* is a bytes object, but not an instance of a "
4655
"subtype of the bytes type."
4756
msgstr ""
57+
"Renvoie vrai si l'objet *o* est un ``bytearray``, mais pas une instance d'un "
58+
"sous-type du type ``bytearray``."
4859

4960
#: ../Doc/c-api/bytes.rst:39
5061
msgid ""
@@ -72,15 +83,16 @@ msgstr ""
7283

7384
#: ../Doc/c-api/bytes.rst:68
7485
msgid "Format Characters"
75-
msgstr ""
86+
msgstr "Caractères de format"
7687

7788
#: ../Doc/c-api/bytes.rst:68
7889
msgid "Type"
7990
msgstr "Type"
8091

8192
#: ../Doc/c-api/bytes.rst:68
93+
#, fuzzy
8294
msgid "Comment"
83-
msgstr ""
95+
msgstr "Commentaires"
8496

8597
#: ../Doc/c-api/bytes.rst:70
8698
msgid ":attr:`%%`"

c-api/dict.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,21 @@ msgid "Dictionary Objects"
1919
msgstr "Objets dictionnaires"
2020

2121
#: ../Doc/c-api/dict.rst:13
22+
#, fuzzy
2223
msgid ""
2324
"This subtype of :c:type:`PyObject` represents a Python dictionary object."
2425
msgstr ""
26+
"Ce sous-type de :c:type:`PyObject` représente un objet ``bytearray`` Python."
2527

2628
#: ../Doc/c-api/dict.rst:18
29+
#, fuzzy
2730
msgid ""
2831
"This instance of :c:type:`PyTypeObject` represents the Python dictionary "
2932
"type. This is the same object as :class:`dict` in the Python layer."
3033
msgstr ""
34+
"Cette instance de l'objet :c:type:`PyTypeObject` représente le type nombre à "
35+
"virgule flottante en Python. C'est le même objet que la classe :class:"
36+
"`float` de la couche Python."
3137

3238
#: ../Doc/c-api/dict.rst:24
3339
msgid ""

c-api/exceptions.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,8 +1041,9 @@ msgid ":exc:`MemoryError`"
10411041
msgstr ":exc:`MemoryError`"
10421042

10431043
#: ../Doc/c-api/exceptions.rst:879
1044+
#, fuzzy
10441045
msgid ":c:data:`PyExc_ModuleNotFoundError`"
1045-
msgstr ""
1046+
msgstr ":c:data:`PyExc_ModuleNotFoundError`."
10461047

10471048
#: ../Doc/c-api/exceptions.rst:879
10481049
msgid ":exc:`ModuleNotFoundError`"

c-api/import.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,11 @@ msgid ""
290290
"could play tricks with this to provide a dynamically created collection of "
291291
"frozen modules."
292292
msgstr ""
293+
"Ce pointeur est initialisé de manière à pointer sur un tableau d'entrées de :"
294+
"c:type:`struct _frozen`, dont tous les membres de la dernière valent "
295+
"``NULL`` ou zéro. Quand un module gelé est importé, il est cherché dans ce "
296+
"tableau. Du code tiers peut jouer avec pour construire dynamiquement une "
297+
"collection de module gelés."
293298

294299
#: ../Doc/c-api/import.rst:287
295300
msgid ""

c-api/init.po

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ msgid ":c:func:`Py_GetVersion`"
132132
msgstr ""
133133

134134
#: ../Doc/c-api/init.rst:51
135+
#, fuzzy
135136
msgid "Utilities:"
136-
msgstr ""
137+
msgstr "Utilitaires"
137138

138139
#: ../Doc/c-api/init.rst:53
139140
msgid ":c:func:`Py_DecodeLocale`"
@@ -144,16 +145,19 @@ msgid "Memory allocators:"
144145
msgstr ""
145146

146147
#: ../Doc/c-api/init.rst:57
148+
#, fuzzy
147149
msgid ":c:func:`PyMem_RawMalloc`"
148-
msgstr ""
150+
msgstr ":c:func:`PyMem_RawCalloc`,"
149151

150152
#: ../Doc/c-api/init.rst:58
153+
#, fuzzy
151154
msgid ":c:func:`PyMem_RawRealloc`"
152-
msgstr ""
155+
msgstr ":c:func:`PyMem_RawCalloc`,"
153156

154157
#: ../Doc/c-api/init.rst:59
158+
#, fuzzy
155159
msgid ":c:func:`PyMem_RawCalloc`"
156-
msgstr ""
160+
msgstr ":c:func:`PyMem_RawCalloc`,"
157161

158162
#: ../Doc/c-api/init.rst:60
159163
msgid ":c:func:`PyMem_RawFree`"
@@ -316,8 +320,9 @@ msgid ""
316320
msgstr ""
317321

318322
#: ../Doc/c-api/init.rst:172
323+
#, fuzzy
319324
msgid "See :pep:`528` for more details."
320-
msgstr ""
325+
msgstr "Voir la :pep:`529` pour plus d'informations."
321326

322327
#: ../Doc/c-api/init.rst:178
323328
msgid ""
@@ -967,8 +972,9 @@ msgid ""
967972
msgstr ""
968973

969974
#: ../Doc/c-api/init.rst:812
975+
#, fuzzy
970976
msgid "High-level API"
971-
msgstr ""
977+
msgstr "Bibliothèques de haut-niveau"
972978

973979
#: ../Doc/c-api/init.rst:814
974980
msgid ""
@@ -1177,8 +1183,9 @@ msgid ""
11771183
msgstr ""
11781184

11791185
#: ../Doc/c-api/init.rst:1007
1186+
#, fuzzy
11801187
msgid "Low-level API"
1181-
msgstr ""
1188+
msgstr "Bibliothèques de bas-niveau"
11821189

11831190
#: ../Doc/c-api/init.rst:1009
11841191
msgid ""

c-api/init_config.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ msgid ":c:type:`PyWideStringList`"
3939
msgstr ""
4040

4141
#: ../Doc/c-api/init_config.rst:18
42+
#, fuzzy
4243
msgid "Functions:"
43-
msgstr ""
44+
msgstr "Fonctions"
4445

4546
#: ../Doc/c-api/init_config.rst:20
4647
msgid ":c:func:`PyConfig_Clear`"
@@ -177,8 +178,9 @@ msgid ""
177178
msgstr ""
178179

179180
#: ../Doc/c-api/init_config.rst:67
181+
#, fuzzy
180182
msgid "Methods:"
181-
msgstr ""
183+
msgstr "Méthodes"
182184

183185
#: ../Doc/c-api/init_config.rst:71
184186
msgid "Append *item* to *list*."
@@ -722,8 +724,9 @@ msgid "Install signal handlers?"
722724
msgstr ""
723725

724726
#: ../Doc/c-api/init_config.rst:526
727+
#, fuzzy
725728
msgid "Interactive mode."
726-
msgstr ""
729+
msgstr "Mode interactif"
727730

728731
#: ../Doc/c-api/init_config.rst:530
729732
msgid "If greater than 0, enable isolated mode:"

c-api/intro.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,14 @@ msgstr ""
9090
"h` avant les en-têtes standards."
9191

9292
#: ../Doc/c-api/intro.rst:64
93+
#, fuzzy
9394
msgid ""
9495
"It is recommended to always define ``PY_SSIZE_T_CLEAN`` before including "
9596
"``Python.h``. See :ref:`arg-parsing` for a description of this macro."
9697
msgstr ""
98+
"Il est recommandé de toujours définir ``PY_SSIZE_T_CLEAN`` avant d'inclure "
99+
"``Python.h``. Lisez :ref:`parsetuple` pour avoir une description de cette "
100+
"macro."
97101

98102
#: ../Doc/c-api/intro.rst:67
99103
msgid ""
@@ -162,8 +166,9 @@ msgid ""
162166
msgstr ""
163167

164168
#: ../Doc/c-api/intro.rst:119
169+
#, fuzzy
165170
msgid "Return the absolute value of ``x``."
166-
msgstr ""
171+
msgstr "Renvoie la valeur absolue de *x*."
167172

168173
#: ../Doc/c-api/intro.rst:125
169174
msgid "Return the minimum value between ``x`` and ``y``."

c-api/iter.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ msgid ""
4646
"something like this::"
4747
msgstr ""
4848
"Pour écrire une boucle itérant un itérateur, le code C devrait ressembler "
49-
"à : ::"
49+
"à ::"

c-api/list.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,20 @@ msgid "List Objects"
1919
msgstr ""
2020

2121
#: ../Doc/c-api/list.rst:13
22+
#, fuzzy
2223
msgid "This subtype of :c:type:`PyObject` represents a Python list object."
2324
msgstr ""
25+
"Ce sous-type de :c:type:`PyObject` représente un objet ``bytearray`` Python."
2426

2527
#: ../Doc/c-api/list.rst:18
28+
#, fuzzy
2629
msgid ""
2730
"This instance of :c:type:`PyTypeObject` represents the Python list type. "
2831
"This is the same object as :class:`list` in the Python layer."
2932
msgstr ""
33+
"Cette instance de l'objet :c:type:`PyTypeObject` représente le type nombre à "
34+
"virgule flottante en Python. C'est le même objet que la classe :class:"
35+
"`float` de la couche Python."
3036

3137
#: ../Doc/c-api/list.rst:24
3238
msgid ""

c-api/long.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,38 @@ msgid ""
3131
msgstr ""
3232

3333
#: ../Doc/c-api/long.rst:18
34+
#, fuzzy
3435
msgid "This subtype of :c:type:`PyObject` represents a Python integer object."
3536
msgstr ""
37+
"Ce sous-type de :c:type:`PyObject` représente un objet ``bytearray`` Python."
3638

3739
#: ../Doc/c-api/long.rst:23
40+
#, fuzzy
3841
msgid ""
3942
"This instance of :c:type:`PyTypeObject` represents the Python integer type. "
4043
"This is the same object as :class:`int` in the Python layer."
4144
msgstr ""
45+
"Cette instance de l'objet :c:type:`PyTypeObject` représente le type nombre à "
46+
"virgule flottante en Python. C'est le même objet que la classe :class:"
47+
"`float` de la couche Python."
4248

4349
#: ../Doc/c-api/long.rst:29
50+
#, fuzzy
4451
msgid ""
4552
"Return true if its argument is a :c:type:`PyLongObject` or a subtype of :c:"
4653
"type:`PyLongObject`."
4754
msgstr ""
55+
"Renvoie vrai si l'argument est de type :c:type:`PyFloatObject` ou un sous-"
56+
"type de :c:type:`PyFloatObject`."
4857

4958
#: ../Doc/c-api/long.rst:35
59+
#, fuzzy
5060
msgid ""
5161
"Return true if its argument is a :c:type:`PyLongObject`, but not a subtype "
5262
"of :c:type:`PyLongObject`."
5363
msgstr ""
64+
"Renvoie vrai si l'argument est de type :c:type:`PyFloatObject`, mais pas un "
65+
"sous-type de :c:type:`PyFloatObject`."
5466

5567
#: ../Doc/c-api/long.rst:41
5668
msgid ""

c-api/mapping.po

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ msgstr ""
2727
"Voir aussi :c:func:`PyObject_GetItem`, :c:func:`PyObject_SetItem` et :c:func:"
2828
"`PyObject_DelItem`."
2929

30-
# - " in general case it is impossible to determine what the type of keys it supports."
30+
# - " in general case it is impossible to determine what the type of keys it
31+
# supports."
3132
# → pas correct en VO !
3233
# - "This function always succeeds." équivaut-il à "jamais d'erreur" ?
3334
#: ../Doc/c-api/mapping.rst:14

0 commit comments

Comments
 (0)