8
8
msgstr ""
9
9
"Project-Id-Version : Python 3.8\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
- "POT-Creation-Date : 2019-11-16 11:56 +0000\n "
11
+ "POT-Creation-Date : 2019-12-10 12:08 +0000\n "
12
12
"PO-Revision-Date : 2017-02-16 17:39+0000\n "
13
13
"Language-Team : Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n "
14
14
"MIME-Version : 1.0\n "
@@ -362,8 +362,8 @@ msgstr ""
362
362
363
363
#: ../../c-api/sys.rst:312
364
364
msgid ""
365
- "Raises an auditing event with any active hooks. Returns zero for success and"
366
- " non-zero with an exception set on failure."
365
+ "Raise an auditing event with any active hooks. Return zero for success and "
366
+ "non-zero with an exception set on failure."
367
367
msgstr ""
368
368
369
369
#: ../../c-api/sys.rst:315
@@ -378,46 +378,57 @@ msgid ""
378
378
msgstr ""
379
379
380
380
#: ../../c-api/sys.rst:323
381
+ msgid ""
382
+ "Note that ``#`` format characters should always be treated as "
383
+ "``Py_ssize_t``, regardless of whether ``PY_SSIZE_T_CLEAN`` was defined."
384
+ msgstr ""
385
+
386
+ #: ../../c-api/sys.rst:326
381
387
msgid ":func:`sys.audit` performs the same function from Python code."
382
388
msgstr ""
383
389
384
- #: ../../c-api/sys.rst:330
390
+ #: ../../c-api/sys.rst:332
391
+ msgid ""
392
+ "Require ``Py_ssize_t`` for ``#`` format characters. Previously, an "
393
+ "unavoidable deprecation warning was raised."
394
+ msgstr ""
395
+
396
+ #: ../../c-api/sys.rst:338
397
+ msgid ""
398
+ "Append the callable *hook* to the list of active auditing hooks. Return zero"
399
+ " for success and non-zero on failure. If the runtime has been initialized, "
400
+ "also set an error on failure. Hooks added through this API are called for "
401
+ "all interpreters created by the runtime."
402
+ msgstr ""
403
+
404
+ #: ../../c-api/sys.rst:344
385
405
msgid ""
386
- "Adds to the collection of active auditing hooks. Returns zero for success "
387
- "and non-zero on failure. If the runtime has been initialized, also sets an "
388
- "error on failure. Hooks added through this API are called for all "
389
- "interpreters created by the runtime."
406
+ "The *userData* pointer is passed into the hook function. Since hook "
407
+ "functions may be called from different runtimes, this pointer should not "
408
+ "refer directly to Python state."
390
409
msgstr ""
391
410
392
- #: ../../c-api/sys.rst:335
411
+ #: ../../c-api/sys.rst:348
393
412
msgid ""
394
413
"This function is safe to call before :c:func:`Py_Initialize`. When called "
395
414
"after runtime initialization, existing audit hooks are notified and may "
396
415
"silently abort the operation by raising an error subclassed from "
397
416
":class:`Exception` (other errors will not be silenced)."
398
417
msgstr ""
399
418
400
- #: ../../c-api/sys.rst:340
419
+ #: ../../c-api/sys.rst:353
401
420
msgid ""
402
421
"The hook function is of type :c:type:`int (*)(const char *event, PyObject "
403
422
"*args, void *userData)`, where *args* is guaranteed to be a "
404
423
":c:type:`PyTupleObject`. The hook function is always called with the GIL "
405
424
"held by the Python interpreter that raised the event."
406
425
msgstr ""
407
426
408
- #: ../../c-api/sys.rst:345
409
- msgid ""
410
- "The *userData* pointer is passed into the hook function. Since hook "
411
- "functions may be called from different runtimes, this pointer should not "
412
- "refer directly to Python state."
413
- msgstr ""
414
-
415
- #: ../../c-api/sys.rst:349
427
+ #: ../../c-api/sys.rst:358
416
428
msgid ""
417
- "See :pep:`578` for a detailed description of auditing. Functions in the "
418
- "runtime and standard library that raise events include the details in each "
419
- "function's documentation and listed in the :ref:`audit events table <audit-"
420
- "events>`."
429
+ "See :pep:`578` for a detailed description of auditing. Functions in the "
430
+ "runtime and standard library that raise events are listed in the :ref:`audit"
431
+ " events table <audit-events>`. Details are in each function's documentation."
421
432
msgstr ""
422
433
423
434
#: ../../c-api/sys.rstNone
@@ -426,7 +437,7 @@ msgid ""
426
437
"arguments."
427
438
msgstr ""
428
439
429
- #: ../../c-api/sys.rst:356
440
+ #: ../../c-api/sys.rst:365
430
441
msgid ""
431
442
"If the interpreter is initialized, this function raises a auditing event "
432
443
"``sys.addaudithook`` with no arguments. If any existing hooks raise an "
@@ -435,11 +446,11 @@ msgid ""
435
446
"hook has been added unless they control all existing hooks."
436
447
msgstr ""
437
448
438
- #: ../../c-api/sys.rst:368
449
+ #: ../../c-api/sys.rst:377
439
450
msgid "Process Control"
440
451
msgstr ""
441
452
442
- #: ../../c-api/sys.rst:375
453
+ #: ../../c-api/sys.rst:384
443
454
msgid ""
444
455
"Print a fatal error message and kill the process. No cleanup is performed. "
445
456
"This function should only be invoked when a condition is detected that would"
@@ -449,18 +460,18 @@ msgid ""
449
460
":file:`core` file."
450
461
msgstr ""
451
462
452
- #: ../../c-api/sys.rst:389
463
+ #: ../../c-api/sys.rst:398
453
464
msgid ""
454
465
"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls"
455
466
" the standard C library function ``exit(status)``. If "
456
467
":c:func:`Py_FinalizeEx` indicates an error, the exit status is set to 120."
457
468
msgstr ""
458
469
459
- #: ../../c-api/sys.rst:393
470
+ #: ../../c-api/sys.rst:402
460
471
msgid "Errors from finalization no longer ignored."
461
472
msgstr ""
462
473
463
- #: ../../c-api/sys.rst:403
474
+ #: ../../c-api/sys.rst:412
464
475
msgid ""
465
476
"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The "
466
477
"cleanup function will be called with no arguments and should return no "
0 commit comments