Skip to content

Commit 006d3c1

Browse files
authored
Merge branch '3.8' into using-cmdline
2 parents ce0821f + 3de5dcd commit 006d3c1

133 files changed

Lines changed: 5101 additions & 4429 deletions

File tree

Some content is hidden

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

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ install:
99
- pospell --version
1010
- powrap --version
1111
script:
12-
- powrap --check --quiet *.po **/*.po
13-
- pospell -p dict -l fr_FR *.po **/*.po
14-
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=4d1abedce9422473af2ac78047e55cde73208208
12+
- CHANGED_FILES="$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep '\.po$';:)"
13+
- echo "$(printf "%s\n" "$CHANGED_FILES" | wc -l) files changed."
14+
- echo "$CHANGED_FILES" | sed 's/^/- /'
15+
- '[ -n "$CHANGED_FILES" ] && powrap --check --quiet $CHANGED_FILES' || echo "Nothing to check"
16+
- '[ -n "$CHANGED_FILES" ] && pospell -p dict -l fr_FR $CHANGED_FILES' || echo "Nothing to check"
17+
- '[ -n "$CHANGED_FILES" ] && make CPYTHON_CLONE=/tmp/cpython/ COMMIT=4d1abedce9422473af2ac78047e55cde73208208' || echo "Nothing to build"

c-api/arg.po

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
8+
"POT-Creation-Date: 2019-11-15 18:54+0100\n"
99
"PO-Revision-Date: 2018-10-04 12:14+0200\n"
1010
"Last-Translator: Julien Palard <julien@palard.fr>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
@@ -114,7 +114,7 @@ msgstr "Sauf indication contraire, les tampons ne se terminent pas par NUL."
114114
msgid ""
115115
"Some formats require a read-only :term:`bytes-like object`, and set a "
116116
"pointer instead of a buffer structure. They work by checking that the "
117-
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is *NULL*, which "
117+
"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which "
118118
"disallows mutable objects such as :class:`bytearray`."
119119
msgstr ""
120120

@@ -196,9 +196,10 @@ msgid "``z`` (:class:`str` or ``None``) [const char \\*]"
196196
msgstr "``z`` (:class:`str` ou ``None``) [``const char *``]"
197197

198198
#: ../Doc/c-api/arg.rst:101
199+
#, fuzzy
199200
msgid ""
200201
"Like ``s``, but the Python object may also be ``None``, in which case the C "
201-
"pointer is set to *NULL*."
202+
"pointer is set to ``NULL``."
202203
msgstr ""
203204
"Comme ``s``, mais l'objet Python peut aussi être ``None``, auquel cas le "
204205
"pointeur C devient *NULL*."
@@ -210,10 +211,13 @@ msgstr ""
210211
"``z*`` (:class:`str`, :term:`bytes-like object` ou ``None``) [``Py_buffer``]"
211212

212213
#: ../Doc/c-api/arg.rst:105
214+
#, fuzzy
213215
msgid ""
214216
"Like ``s*``, but the Python object may also be ``None``, in which case the "
215-
"``buf`` member of the :c:type:`Py_buffer` structure is set to *NULL*."
217+
"``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``."
216218
msgstr ""
219+
"Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le "
220+
"pointeur :c:type:`Py_UNICODE` vaut *NULL*."
217221

218222
#: ../Doc/c-api/arg.rst:110
219223
msgid ""
@@ -222,9 +226,10 @@ msgid ""
222226
msgstr ""
223227

224228
#: ../Doc/c-api/arg.rst:109
229+
#, fuzzy
225230
msgid ""
226231
"Like ``s#``, but the Python object may also be ``None``, in which case the C "
227-
"pointer is set to *NULL*."
232+
"pointer is set to ``NULL``."
228233
msgstr ""
229234
"Comme ``s#``, mais l'objet Python peut également être ``None``, dans ce cas "
230235
"le pointeur C est définie à *NULL*."
@@ -330,9 +335,10 @@ msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
330335
msgstr "``Z`` (:class:`str` ou ``None``) [``const Py_UNICODE *``]"
331336

332337
#: ../Doc/c-api/arg.rst:168
338+
#, fuzzy
333339
msgid ""
334340
"Like ``u``, but the Python object may also be ``None``, in which case the :c:"
335-
"type:`Py_UNICODE` pointer is set to *NULL*."
341+
"type:`Py_UNICODE` pointer is set to ``NULL``."
336342
msgstr ""
337343
"Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le "
338344
"pointeur :c:type:`Py_UNICODE` vaut *NULL*."
@@ -342,9 +348,10 @@ msgid "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, int]"
342348
msgstr "``Z#`` (:class:`str` ou ``None``) [``const Py_UNICODE *``, ``int``]"
343349

344350
#: ../Doc/c-api/arg.rst:176
351+
#, fuzzy
345352
msgid ""
346353
"Like ``u#``, but the Python object may also be ``None``, in which case the :"
347-
"c:type:`Py_UNICODE` pointer is set to *NULL*."
354+
"c:type:`Py_UNICODE` pointer is set to ``NULL``."
348355
msgstr ""
349356
"Comme ``u#``, mais l'objet Python peut également être ``None``, auquel cas "
350357
"le pointeur :c:type:`Py_UNICODE` vaut *NULL*."
@@ -386,7 +393,7 @@ msgstr ""
386393
msgid ""
387394
"This format requires two arguments. The first is only used as input, and "
388395
"must be a :c:type:`const char\\*` which points to the name of an encoding as "
389-
"a NUL-terminated string, or *NULL*, in which case ``'utf-8'`` encoding is "
396+
"a NUL-terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is "
390397
"used. An exception is raised if the named encoding is not known to Python. "
391398
"The second argument must be a :c:type:`char\\*\\*`; the value of the pointer "
392399
"it references will be set to a buffer with the contents of the argument "
@@ -432,8 +439,8 @@ msgstr ""
432439
msgid ""
433440
"It requires three arguments. The first is only used as input, and must be "
434441
"a :c:type:`const char\\*` which points to the name of an encoding as a NUL-"
435-
"terminated string, or *NULL*, in which case ``'utf-8'`` encoding is used. An "
436-
"exception is raised if the named encoding is not known to Python. The "
442+
"terminated string, or ``NULL``, in which case ``'utf-8'`` encoding is used. "
443+
"An exception is raised if the named encoding is not known to Python. The "
437444
"second argument must be a :c:type:`char\\*\\*`; the value of the pointer it "
438445
"references will be set to a buffer with the contents of the argument text. "
439446
"The text will be encoded in the encoding specified by the first argument. "
@@ -447,16 +454,16 @@ msgstr "Il existe deux modes de fonctionnement :"
447454

448455
#: ../Doc/c-api/arg.rst:233
449456
msgid ""
450-
"If *\\*buffer* points a *NULL* pointer, the function will allocate a buffer "
451-
"of the needed size, copy the encoded data into this buffer and set *"
457+
"If *\\*buffer* points a ``NULL`` pointer, the function will allocate a "
458+
"buffer of the needed size, copy the encoded data into this buffer and set *"
452459
"\\*buffer* to reference the newly allocated storage. The caller is "
453460
"responsible for calling :c:func:`PyMem_Free` to free the allocated buffer "
454461
"after usage."
455462
msgstr ""
456463

457464
#: ../Doc/c-api/arg.rst:238
458465
msgid ""
459-
"If *\\*buffer* points to a non-*NULL* pointer (an already allocated "
466+
"If *\\*buffer* points to a non-``NULL`` pointer (an already allocated "
460467
"buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and "
461468
"interpret the initial value of *\\*buffer_length* as the buffer size. It "
462469
"will then copy the encoded data into the buffer and NUL-terminate it. If "
@@ -661,10 +668,11 @@ msgid "``O`` (object) [PyObject \\*]"
661668
msgstr "``O`` (objet) [``PyObject *``]"
662669

663670
#: ../Doc/c-api/arg.rst:318
671+
#, fuzzy
664672
msgid ""
665673
"Store a Python object (without any conversion) in a C object pointer. The C "
666674
"program thus receives the actual object that was passed. The object's "
667-
"reference count is not increased. The pointer stored is not *NULL*."
675+
"reference count is not increased. The pointer stored is not ``NULL``."
668676
msgstr ""
669677
"Stocke un objet Python (sans aucune conversion) en un pointeur sur un objet "
670678
"C. Ainsi, Le programme C reçoit l'objet réel qui a été passé. Le compteur de "
@@ -711,7 +719,7 @@ msgid ""
711719
"If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a "
712720
"second time if the argument parsing eventually fails, giving the converter a "
713721
"chance to release any memory that it had already allocated. In this second "
714-
"call, the *object* parameter will be NULL; *address* will have the same "
722+
"call, the *object* parameter will be ``NULL``; *address* will have the same "
715723
"value as in the original call."
716724
msgstr ""
717725

@@ -871,7 +879,7 @@ msgstr ""
871879
#: ../Doc/c-api/arg.rst:438
872880
msgid ""
873881
"Parse the parameters of a function that takes both positional and keyword "
874-
"parameters into local variables. The *keywords* argument is a *NULL*-"
882+
"parameters into local variables. The *keywords* argument is a ``NULL``-"
875883
"terminated array of keyword parameter names. Empty names denote :ref:"
876884
"`positional-only parameters <positional-only_parameter>`. Returns true on "
877885
"success; on failure, it returns false and raises the appropriate exception."
@@ -945,8 +953,8 @@ msgstr "Construction des valeurs"
945953
msgid ""
946954
"Create a new value based on a format string similar to those accepted by "
947955
"the :c:func:`PyArg_Parse\\*` family of functions and a sequence of values. "
948-
"Returns the value or *NULL* in the case of an error; an exception will be "
949-
"raised if *NULL* is returned."
956+
"Returns the value or ``NULL`` in the case of an error; an exception will be "
957+
"raised if ``NULL`` is returned."
950958
msgstr ""
951959

952960
#: ../Doc/c-api/arg.rst:526
@@ -991,7 +999,7 @@ msgstr "``s`` (:class:`str` ou ``None``) [``const char *``]"
991999
#: ../Doc/c-api/arg.rst:549
9921000
msgid ""
9931001
"Convert a null-terminated C string to a Python :class:`str` object using "
994-
"``'utf-8'`` encoding. If the C string pointer is *NULL*, ``None`` is used."
1002+
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used."
9951003
msgstr ""
9961004

9971005
#: ../Doc/c-api/arg.rst:555
@@ -1001,7 +1009,7 @@ msgstr "``s#`` (:class:`str` ou ``None``) [``const char *``, ``int``]"
10011009
#: ../Doc/c-api/arg.rst:553
10021010
msgid ""
10031011
"Convert a C string and its length to a Python :class:`str` object using "
1004-
"``'utf-8'`` encoding. If the C string pointer is *NULL*, the length is "
1012+
"``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is "
10051013
"ignored and ``None`` is returned."
10061014
msgstr ""
10071015

@@ -1012,7 +1020,7 @@ msgstr "``y`` (:class:`bytes`) [``const char *``]"
10121020
#: ../Doc/c-api/arg.rst:558
10131021
msgid ""
10141022
"This converts a C string to a Python :class:`bytes` object. If the C string "
1015-
"pointer is *NULL*, ``None`` is returned."
1023+
"pointer is ``NULL``, ``None`` is returned."
10161024
msgstr ""
10171025

10181026
#: ../Doc/c-api/arg.rst:563
@@ -1022,7 +1030,7 @@ msgstr "``y#`` (:class:`bytes`) [``const char *, int``]"
10221030
#: ../Doc/c-api/arg.rst:562
10231031
msgid ""
10241032
"This converts a C string and its lengths to a Python object. If the C "
1025-
"string pointer is *NULL*, ``None`` is returned."
1033+
"string pointer is ``NULL``, ``None`` is returned."
10261034
msgstr ""
10271035

10281036
#: ../Doc/c-api/arg.rst:566 ../Doc/c-api/arg.rst:582
@@ -1045,7 +1053,7 @@ msgstr "``u`` (:class:`str`) [``const wchar_t *``]"
10451053
msgid ""
10461054
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or "
10471055
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is "
1048-
"*NULL*, ``None`` is returned."
1056+
"``NULL``, ``None`` is returned."
10491057
msgstr ""
10501058

10511059
#: ../Doc/c-api/arg.rst:579
@@ -1055,7 +1063,7 @@ msgstr "``u#`` (:class:`str`) [``const wchar_t *``, ``int``]"
10551063
#: ../Doc/c-api/arg.rst:577
10561064
msgid ""
10571065
"Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python "
1058-
"Unicode object. If the Unicode buffer pointer is *NULL*, the length is "
1066+
"Unicode object. If the Unicode buffer pointer is ``NULL``, the length is "
10591067
"ignored and ``None`` is returned."
10601068
msgstr ""
10611069

@@ -1150,11 +1158,11 @@ msgstr ""
11501158
#: ../Doc/c-api/arg.rst:638
11511159
msgid ""
11521160
"Pass a Python object untouched (except for its reference count, which is "
1153-
"incremented by one). If the object passed in is a *NULL* pointer, it is "
1161+
"incremented by one). If the object passed in is a ``NULL`` pointer, it is "
11541162
"assumed that this was caused because the call producing the argument found "
11551163
"an error and set an exception. Therefore, :c:func:`Py_BuildValue` will "
1156-
"return *NULL* but won't raise an exception. If no exception has been raised "
1157-
"yet, :exc:`SystemError` is set."
1164+
"return ``NULL`` but won't raise an exception. If no exception has been "
1165+
"raised yet, :exc:`SystemError` is set."
11581166
msgstr ""
11591167

11601168
#: ../Doc/c-api/arg.rst:646
@@ -1181,7 +1189,7 @@ msgid ""
11811189
"Convert *anything* to a Python object through a *converter* function. The "
11821190
"function is called with *anything* (which should be compatible with :c:type:"
11831191
"`void \\*`) as its argument and should return a \"new\" Python object, or "
1184-
"*NULL* if an error occurred."
1192+
"``NULL`` if an error occurred."
11851193
msgstr ""
11861194

11871195
#: ../Doc/c-api/arg.rst:660
@@ -1214,7 +1222,7 @@ msgstr ""
12141222
#: ../Doc/c-api/arg.rst:670
12151223
msgid ""
12161224
"If there is an error in the format string, the :exc:`SystemError` exception "
1217-
"is set and *NULL* returned."
1225+
"is set and ``NULL`` returned."
12181226
msgstr ""
12191227

12201228
#: ../Doc/c-api/arg.rst:675

0 commit comments

Comments
 (0)