merge.py 3.11 (#25)
C'est encore un `merge.py 3.11` sans intervention manuelle : j'essaye de tenir la 3.11 à jour à l'approche de la PyConFr. Reviewed-on: #25 Co-authored-by: Julien Palard <julien@palard.fr> Co-committed-by: Julien Palard <julien@palard.fr>
This commit is contained in:
parent 343aa3118d
commit be3fe26412
20 changed files with 1328 additions and 1153 deletions
| | @ -5,7 +5,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2023-01-15 22:33+0100\n" | ||||
"POT-Creation-Date: 2023-02-12 11:56+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" | ||||
| | @ -125,44 +125,51 @@ msgid "" | |||
"are no digits, :exc:`ValueError` will be raised." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:99 | ||||
#: c-api/long.rst:96 | ||||
msgid "" | ||||
"Python methods :meth:`int.to_bytes` and :meth:`int.from_bytes` to convert a :" | ||||
"c:type:`PyLongObject` to/from an array of bytes in base ``256``. You can " | ||||
"call those from C using :c:func:`PyObject_CallMethod`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:103 | ||||
msgid "" | ||||
"Convert a sequence of Unicode digits in the string *u* to a Python integer " | ||||
"value." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:107 | ||||
#: c-api/long.rst:111 | ||||
msgid "" | ||||
"Create a Python integer from the pointer *p*. The pointer value can be " | ||||
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:136 | ||||
#: c-api/long.rst:140 | ||||
msgid "" | ||||
"Return a C :c:expr:`long` representation of *obj*. If *obj* is not an " | ||||
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " | ||||
"(if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:122 | ||||
#: c-api/long.rst:126 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" | ||||
"expr:`long`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:145 c-api/long.rst:186 c-api/long.rst:209 | ||||
#: c-api/long.rst:149 c-api/long.rst:190 c-api/long.rst:213 | ||||
msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:147 c-api/long.rst:190 c-api/long.rst:294 | ||||
#: c-api/long.rst:151 c-api/long.rst:194 c-api/long.rst:298 | ||||
msgid "Use :meth:`__index__` if available." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:150 c-api/long.rst:193 c-api/long.rst:297 | ||||
#: c-api/long.rst:154 c-api/long.rst:197 c-api/long.rst:301 | ||||
msgid "This function will no longer use :meth:`__int__`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:140 | ||||
#: c-api/long.rst:144 | ||||
msgid "" | ||||
"If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:" | ||||
"`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " | ||||
| | @ -170,20 +177,20 @@ msgid "" | |||
"occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:177 | ||||
#: c-api/long.rst:181 | ||||
msgid "" | ||||
"Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an " | ||||
"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " | ||||
"(if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:163 | ||||
#: c-api/long.rst:167 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" | ||||
"expr:`long long`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:181 | ||||
#: c-api/long.rst:185 | ||||
msgid "" | ||||
"If the value of *obj* is greater than :const:`LLONG_MAX` or less than :const:" | ||||
"`LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " | ||||
| | @ -191,133 +198,133 @@ msgid "" | |||
"occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:203 | ||||
#: c-api/long.rst:207 | ||||
msgid "" | ||||
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must " | ||||
"be an instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:206 | ||||
#: c-api/long.rst:210 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"type:`Py_ssize_t`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:218 | ||||
#: c-api/long.rst:222 | ||||
msgid "" | ||||
"Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* " | ||||
"must be an instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:221 | ||||
#: c-api/long.rst:225 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"expr:`unsigned long`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:224 | ||||
#: c-api/long.rst:228 | ||||
msgid "" | ||||
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:234 | ||||
#: c-api/long.rst:238 | ||||
msgid "" | ||||
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an " | ||||
"instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:237 | ||||
#: c-api/long.rst:241 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"type:`size_t`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:240 | ||||
#: c-api/long.rst:244 | ||||
msgid "" | ||||
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:249 | ||||
#: c-api/long.rst:253 | ||||
msgid "" | ||||
"Return a C :c:expr:`unsigned long long` representation of *pylong*. " | ||||
"*pylong* must be an instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:252 | ||||
#: c-api/long.rst:256 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :" | ||||
"c:expr:`unsigned long long`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:255 | ||||
#: c-api/long.rst:259 | ||||
msgid "" | ||||
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:258 | ||||
#: c-api/long.rst:262 | ||||
msgid "" | ||||
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:264 | ||||
#: c-api/long.rst:268 | ||||
msgid "" | ||||
"Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not " | ||||
"an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` " | ||||
"method (if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:268 | ||||
#: c-api/long.rst:272 | ||||
msgid "" | ||||
"If the value of *obj* is out of range for an :c:expr:`unsigned long`, return " | ||||
"the reduction of that value modulo ``ULONG_MAX + 1``." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:271 | ||||
#: c-api/long.rst:275 | ||||
msgid "" | ||||
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:283 | ||||
#: c-api/long.rst:287 | ||||
msgid "" | ||||
"Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* " | ||||
"is not an instance of :c:type:`PyLongObject`, first call its :meth:" | ||||
"`__index__` method (if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:288 | ||||
#: c-api/long.rst:292 | ||||
msgid "" | ||||
"If the value of *obj* is out of range for an :c:expr:`unsigned long long`, " | ||||
"return the reduction of that value modulo ``ULLONG_MAX + 1``." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:291 | ||||
#: c-api/long.rst:295 | ||||
msgid "" | ||||
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` " | ||||
"to disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:303 | ||||
#: c-api/long.rst:307 | ||||
msgid "" | ||||
"Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an " | ||||
"instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:306 | ||||
#: c-api/long.rst:310 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"expr:`double`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:309 | ||||
#: c-api/long.rst:313 | ||||
msgid "" | ||||
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:314 | ||||
#: c-api/long.rst:318 | ||||
msgid "" | ||||
"Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* " | ||||
"cannot be converted, an :exc:`OverflowError` will be raised. This is only " | ||||
| | @ -325,7 +332,7 @@ msgid "" | |||
"c:func:`PyLong_FromVoidPtr`." | ||||
msgstr "" | ||||
| ||||
#: c-api/long.rst:319 | ||||
#: c-api/long.rst:323 | ||||
msgid "" | ||||
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." | ||||
msgstr "" | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue