5
5
msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2019-11-15 23:53 +0100\n "
8
+ "POT-Creation-Date : 2019-12-05 23:16 +0100\n "
9
9
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
10
10
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
@@ -357,7 +357,7 @@ msgstr ""
357
357
358
358
#: ../Doc/c-api/sys.rst:312
359
359
msgid ""
360
- "Raises an auditing event with any active hooks. Returns zero for success and "
360
+ "Raise an auditing event with any active hooks. Return zero for success and "
361
361
"non-zero with an exception set on failure."
362
362
msgstr ""
363
363
@@ -378,41 +378,40 @@ msgstr ""
378
378
379
379
#: ../Doc/c-api/sys.rst:330
380
380
msgid ""
381
- "Adds to the collection of active auditing hooks. Returns zero for success "
382
- "and non-zero on failure. If the runtime has been initialized, also sets an "
383
- "error on failure. Hooks added through this API are called for all "
384
- "interpreters created by the runtime."
381
+ "Append the callable *hook* to the list of active auditing hooks. Return zero "
382
+ "for success and non-zero on failure. If the runtime has been initialized, "
383
+ "also set an error on failure. Hooks added through this API are called for "
384
+ "all interpreters created by the runtime."
385
385
msgstr ""
386
386
387
- #: ../Doc/c-api/sys.rst:335
387
+ #: ../Doc/c-api/sys.rst:336
388
+ msgid ""
389
+ "The *userData* pointer is passed into the hook function. Since hook "
390
+ "functions may be called from different runtimes, this pointer should not "
391
+ "refer directly to Python state."
392
+ msgstr ""
393
+
394
+ #: ../Doc/c-api/sys.rst:340
388
395
msgid ""
389
396
"This function is safe to call before :c:func:`Py_Initialize`. When called "
390
397
"after runtime initialization, existing audit hooks are notified and may "
391
398
"silently abort the operation by raising an error subclassed from :class:"
392
399
"`Exception` (other errors will not be silenced)."
393
400
msgstr ""
394
401
395
- #: ../Doc/c-api/sys.rst:340
402
+ #: ../Doc/c-api/sys.rst:345
396
403
msgid ""
397
404
"The hook function is of type :c:type:`int (*)(const char *event, PyObject "
398
405
"*args, void *userData)`, where *args* is guaranteed to be a :c:type:"
399
406
"`PyTupleObject`. The hook function is always called with the GIL held by the "
400
407
"Python interpreter that raised the event."
401
408
msgstr ""
402
409
403
- #: ../Doc/c-api/sys.rst:345
404
- msgid ""
405
- "The *userData* pointer is passed into the hook function. Since hook "
406
- "functions may be called from different runtimes, this pointer should not "
407
- "refer directly to Python state."
408
- msgstr ""
409
-
410
- #: ../Doc/c-api/sys.rst:349
410
+ #: ../Doc/c-api/sys.rst:350
411
411
msgid ""
412
- "See :pep:`578` for a detailed description of auditing. Functions in the "
413
- "runtime and standard library that raise events include the details in each "
414
- "function's documentation and listed in the :ref:`audit events table <audit-"
415
- "events>`."
412
+ "See :pep:`578` for a detailed description of auditing. Functions in the "
413
+ "runtime and standard library that raise events are listed in the :ref:`audit "
414
+ "events table <audit-events>`. Details are in each function's documentation."
416
415
msgstr ""
417
416
418
417
#: ../Doc/c-api/sys.rst: None
@@ -421,7 +420,7 @@ msgid ""
421
420
"arguments."
422
421
msgstr ""
423
422
424
- #: ../Doc/c-api/sys.rst:356
423
+ #: ../Doc/c-api/sys.rst:357
425
424
msgid ""
426
425
"If the interpreter is initialized, this function raises a auditing event "
427
426
"``sys.addaudithook`` with no arguments. If any existing hooks raise an "
@@ -430,11 +429,11 @@ msgid ""
430
429
"hook has been added unless they control all existing hooks."
431
430
msgstr ""
432
431
433
- #: ../Doc/c-api/sys.rst:368
432
+ #: ../Doc/c-api/sys.rst:369
434
433
msgid "Process Control"
435
434
msgstr ""
436
435
437
- #: ../Doc/c-api/sys.rst:375
436
+ #: ../Doc/c-api/sys.rst:376
438
437
msgid ""
439
438
"Print a fatal error message and kill the process. No cleanup is performed. "
440
439
"This function should only be invoked when a condition is detected that would "
@@ -444,18 +443,18 @@ msgid ""
444
443
"file:`core` file."
445
444
msgstr ""
446
445
447
- #: ../Doc/c-api/sys.rst:389
446
+ #: ../Doc/c-api/sys.rst:390
448
447
msgid ""
449
448
"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls "
450
449
"the standard C library function ``exit(status)``. If :c:func:"
451
450
"`Py_FinalizeEx` indicates an error, the exit status is set to 120."
452
451
msgstr ""
453
452
454
- #: ../Doc/c-api/sys.rst:393
453
+ #: ../Doc/c-api/sys.rst:394
455
454
msgid "Errors from finalization no longer ignored."
456
455
msgstr ""
457
456
458
- #: ../Doc/c-api/sys.rst:403
457
+ #: ../Doc/c-api/sys.rst:404
459
458
msgid ""
460
459
"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The "
461
460
"cleanup function will be called with no arguments and should return no "
0 commit comments