-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathinit_config.po
More file actions
2637 lines (1999 loc) · 69.5 KB
/
init_config.po
File metadata and controls
2637 lines (1999 loc) · 69.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Hengky Kurniawan, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-09 14:44+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: Hengky Kurniawan, 2025\n"
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
"id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid "Python Initialization Configuration"
msgstr ""
msgid "PyInitConfig C API"
msgstr ""
msgid "Python can be initialized with :c:func:`Py_InitializeFromInitConfig`."
msgstr ""
"Python dapat terinisialisasi dengan :c:func:`Py_InitializeFromInitConfig`."
msgid ""
"The :c:func:`Py_RunMain` function can be used to write a customized Python "
"program."
msgstr ""
msgid ""
"See also :ref:`Initialization, Finalization, and Threads <initialization>`."
msgstr ""
msgid ":pep:`741` \"Python Configuration C API\"."
msgstr ""
msgid "Example"
msgstr "Contoh"
msgid ""
"Example of customized Python always running with the :ref:`Python "
"Development Mode <devmode>` enabled; return ``-1`` on error:"
msgstr ""
msgid ""
"int init_python(void)\n"
"{\n"
" PyInitConfig *config = PyInitConfig_Create();\n"
" if (config == NULL) {\n"
" printf(\"PYTHON INIT ERROR: memory allocation failed\\n\");\n"
" return -1;\n"
" }\n"
"\n"
" // Enable the Python Development Mode\n"
" if (PyInitConfig_SetInt(config, \"dev_mode\", 1) < 0) {\n"
" goto error;\n"
" }\n"
"\n"
" // Initialize Python with the configuration\n"
" if (Py_InitializeFromInitConfig(config) < 0) {\n"
" goto error;\n"
" }\n"
" PyInitConfig_Free(config);\n"
" return 0;\n"
"\n"
"error:\n"
" {\n"
" // Display the error message.\n"
" //\n"
" // This uncommon braces style is used, because you cannot make\n"
" // goto targets point to variable declarations.\n"
" const char *err_msg;\n"
" (void)PyInitConfig_GetError(config, &err_msg);\n"
" printf(\"PYTHON INIT ERROR: %s\\n\", err_msg);\n"
" PyInitConfig_Free(config);\n"
" return -1;\n"
" }\n"
"}"
msgstr ""
msgid "Create Config"
msgstr ""
msgid "Opaque structure to configure the Python initialization."
msgstr ""
msgid ""
"Create a new initialization configuration using :ref:`Isolated Configuration "
"<init-isolated-conf>` default values."
msgstr ""
msgid "It must be freed by :c:func:`PyInitConfig_Free`."
msgstr ""
msgid "Return ``NULL`` on memory allocation failure."
msgstr ""
msgid "Free memory of the initialization configuration *config*."
msgstr ""
msgid "If *config* is ``NULL``, no operation is performed."
msgstr ""
msgid "Error Handling"
msgstr "Penanganan Kesalahan"
msgid "Get the *config* error message."
msgstr ""
msgid "Set *\\*err_msg* and return ``1`` if an error is set."
msgstr ""
msgid "Set *\\*err_msg* to ``NULL`` and return ``0`` otherwise."
msgstr ""
msgid "An error message is a UTF-8 encoded string."
msgstr ""
msgid "If *config* has an exit code, format the exit code as an error message."
msgstr ""
msgid ""
"The error message remains valid until another ``PyInitConfig`` function is "
"called with *config*. The caller doesn't have to free the error message."
msgstr ""
msgid "Get the *config* exit code."
msgstr ""
msgid "Set *\\*exitcode* and return ``1`` if *config* has an exit code set."
msgstr ""
msgid "Return ``0`` if *config* has no exit code set."
msgstr ""
msgid ""
"Only the ``Py_InitializeFromInitConfig()`` function can set an exit code if "
"the ``parse_argv`` option is non-zero."
msgstr ""
msgid ""
"An exit code can be set when parsing the command line failed (exit code "
"``2``) or when a command line option asks to display the command line help "
"(exit code ``0``)."
msgstr ""
msgid "Get Options"
msgstr ""
msgid ""
"The configuration option *name* parameter must be a non-NULL null-terminated "
"UTF-8 encoded string. See :ref:`Configuration Options <pyinitconfig-opts>`."
msgstr ""
msgid "Test if the configuration has an option called *name*."
msgstr ""
msgid "Return ``1`` if the option exists, or return ``0`` otherwise."
msgstr ""
msgid "Get an integer configuration option."
msgstr ""
msgid "Set *\\*value*, and return ``0`` on success."
msgstr ""
msgid "Set an error in *config* and return ``-1`` on error."
msgstr ""
msgid ""
"Get a string configuration option as a null-terminated UTF-8 encoded string."
msgstr ""
msgid ""
"*\\*value* can be set to ``NULL`` if the option is an optional string and "
"the option is unset."
msgstr ""
msgid ""
"On success, the string must be released with ``free(value)`` if it's not "
"``NULL``."
msgstr ""
msgid ""
"Get a string list configuration option as an array of null-terminated UTF-8 "
"encoded strings."
msgstr ""
msgid "Set *\\*length* and *\\*value*, and return ``0`` on success."
msgstr ""
msgid ""
"On success, the string list must be released with "
"``PyInitConfig_FreeStrList(length, items)``."
msgstr ""
msgid "Free memory of a string list created by ``PyInitConfig_GetStrList()``."
msgstr ""
msgid "Set Options"
msgstr ""
msgid ""
"Some configuration options have side effects on other options. This logic is "
"only implemented when ``Py_InitializeFromInitConfig()`` is called, not by "
"the \"Set\" functions below. For example, setting ``dev_mode`` to ``1`` does "
"not set ``faulthandler`` to ``1``."
msgstr ""
msgid "Set an integer configuration option."
msgstr ""
msgid "Return ``0`` on success."
msgstr ""
msgid ""
"Set a string configuration option from a null-terminated UTF-8 encoded "
"string. The string is copied."
msgstr ""
msgid ""
"Set a string list configuration option from an array of null-terminated "
"UTF-8 encoded strings. The string list is copied."
msgstr ""
msgid "Module"
msgstr ""
msgid "Add a built-in extension module to the table of built-in modules."
msgstr ""
msgid ""
"The new module can be imported by the name *name*, and uses the function "
"*initfunc* as the initialization function called on the first attempted "
"import."
msgstr ""
msgid ""
"If Python is initialized multiple times, ``PyInitConfig_AddModule()`` must "
"be called at each Python initialization."
msgstr ""
msgid "Similar to the :c:func:`PyImport_AppendInittab` function."
msgstr ""
msgid "Initialize Python"
msgstr ""
msgid "Initialize Python from the initialization configuration."
msgstr ""
msgid "Set an exit code in *config* and return ``-1`` if Python wants to exit."
msgstr ""
msgid "See ``PyInitConfig_GetExitcode()`` for the exit code case."
msgstr ""
msgid "Configuration Options"
msgstr ""
msgid "Option"
msgstr "Opsi"
msgid "PyConfig/PyPreConfig member"
msgstr ""
msgid "Type"
msgstr "Typ"
msgid "Visibility"
msgstr ""
msgid "``\"allocator\"``"
msgstr "``\"allocator\"``"
msgid ":c:member:`allocator <PyPreConfig.allocator>`"
msgstr ""
msgid "``int``"
msgstr "``int``"
msgid "Read-only"
msgstr ""
msgid "``\"argv\"``"
msgstr "``\"argv\"``"
msgid ":c:member:`argv <PyConfig.argv>`"
msgstr ":c:member:`argv <PyConfig.argv>`"
msgid "``list[str]``"
msgstr "``list[str]``"
msgid "Public"
msgstr "Publik"
msgid "``\"base_exec_prefix\"``"
msgstr "``\"base_exec_prefix\"``"
msgid ":c:member:`base_exec_prefix <PyConfig.base_exec_prefix>`"
msgstr ":c:member:`base_exec_prefix <PyConfig.base_exec_prefix>`"
msgid "``str``"
msgstr "``str``"
msgid "``\"base_executable\"``"
msgstr "``\"base_executable\"``"
msgid ":c:member:`base_executable <PyConfig.base_executable>`"
msgstr ":c:member:`base_executable <PyConfig.base_executable>`"
msgid "``\"base_prefix\"``"
msgstr "``\"base_prefix\"``"
msgid ":c:member:`base_prefix <PyConfig.base_prefix>`"
msgstr ":c:member:`base_prefix <PyConfig.base_prefix>`"
msgid "``\"buffered_stdio\"``"
msgstr "``\"buffered_stdio\"``"
msgid ":c:member:`buffered_stdio <PyConfig.buffered_stdio>`"
msgstr ":c:member:`buffered_stdio <PyConfig.buffered_stdio>`"
msgid "``bool``"
msgstr "``bool``"
msgid "``\"bytes_warning\"``"
msgstr "``\"bytes_warning\"``"
msgid ":c:member:`bytes_warning <PyConfig.bytes_warning>`"
msgstr ":c:member:`bytes_warning <PyConfig.bytes_warning>`"
msgid "``\"check_hash_pycs_mode\"``"
msgstr "``\"check_hash_pycs_mode\"``"
msgid ":c:member:`check_hash_pycs_mode <PyConfig.check_hash_pycs_mode>`"
msgstr ":c:member:`check_hash_pycs_mode <PyConfig.check_hash_pycs_mode>`"
msgid "``\"code_debug_ranges\"``"
msgstr "``\"code_debug_ranges\"``"
msgid ":c:member:`code_debug_ranges <PyConfig.code_debug_ranges>`"
msgstr ":c:member:`code_debug_ranges <PyConfig.code_debug_ranges>`"
msgid "``\"coerce_c_locale\"``"
msgstr "``\"coerce_c_locale\"``"
msgid ":c:member:`coerce_c_locale <PyPreConfig.coerce_c_locale>`"
msgstr ":c:member:`coerce_c_locale <PyPreConfig.coerce_c_locale>`"
msgid "``\"coerce_c_locale_warn\"``"
msgstr "``\"coerce_c_locale_warn\"``"
msgid ":c:member:`coerce_c_locale_warn <PyPreConfig.coerce_c_locale_warn>`"
msgstr ":c:member:`coerce_c_locale_warn <PyPreConfig.coerce_c_locale_warn>`"
msgid "``\"configure_c_stdio\"``"
msgstr "``\"configure_c_stdio\"``"
msgid ":c:member:`configure_c_stdio <PyConfig.configure_c_stdio>`"
msgstr ":c:member:`configure_c_stdio <PyConfig.configure_c_stdio>`"
msgid "``\"configure_locale\"``"
msgstr "``\"configure_locale\"``"
msgid ":c:member:`configure_locale <PyPreConfig.configure_locale>`"
msgstr ":c:member:`configure_locale <PyPreConfig.configure_locale>`"
msgid "``\"cpu_count\"``"
msgstr "``\"cpu_count\"``"
msgid ":c:member:`cpu_count <PyConfig.cpu_count>`"
msgstr ":c:member:`cpu_count <PyConfig.cpu_count>`"
msgid "``\"dev_mode\"``"
msgstr "``\"dev_mode\"``"
msgid ":c:member:`dev_mode <PyConfig.dev_mode>`"
msgstr ":c:member:`dev_mode <PyConfig.dev_mode>`"
msgid "``\"dump_refs\"``"
msgstr "``\"dump_refs\"``"
msgid ":c:member:`dump_refs <PyConfig.dump_refs>`"
msgstr ":c:member:`dump_refs <PyConfig.dump_refs>`"
msgid "``\"dump_refs_file\"``"
msgstr "``\"dump_refs_file\"``"
msgid ":c:member:`dump_refs_file <PyConfig.dump_refs_file>`"
msgstr ":c:member:`dump_refs_file <PyConfig.dump_refs_file>`"
msgid "``\"exec_prefix\"``"
msgstr "``\"exec_prefix\"``"
msgid ":c:member:`exec_prefix <PyConfig.exec_prefix>`"
msgstr ":c:member:`exec_prefix <PyConfig.exec_prefix>`"
msgid "``\"executable\"``"
msgstr "``\"executable\"``"
msgid ":c:member:`executable <PyConfig.executable>`"
msgstr ":c:member:`executable <PyConfig.executable>`"
msgid "``\"faulthandler\"``"
msgstr "``\"faulthandler\"``"
msgid ":c:member:`faulthandler <PyConfig.faulthandler>`"
msgstr ":c:member:`faulthandler <PyConfig.faulthandler>`"
msgid "``\"filesystem_encoding\"``"
msgstr "``\"filesystem_encoding\"``"
msgid ":c:member:`filesystem_encoding <PyConfig.filesystem_encoding>`"
msgstr ":c:member:`filesystem_encoding <PyConfig.filesystem_encoding>`"
msgid "``\"filesystem_errors\"``"
msgstr "``\"filesystem_errors\"``"
msgid ":c:member:`filesystem_errors <PyConfig.filesystem_errors>`"
msgstr ":c:member:`filesystem_errors <PyConfig.filesystem_errors>`"
msgid "``\"hash_seed\"``"
msgstr "``\"hash_seed\"``"
msgid ":c:member:`hash_seed <PyConfig.hash_seed>`"
msgstr ":c:member:`hash_seed <PyConfig.hash_seed>`"
msgid "``\"home\"``"
msgstr "``\"home\"``"
msgid ":c:member:`home <PyConfig.home>`"
msgstr ":c:member:`home <PyConfig.home>`"
msgid "``\"import_time\"``"
msgstr "``\"import_time\"``"
msgid ":c:member:`import_time <PyConfig.import_time>`"
msgstr ":c:member:`import_time <PyConfig.import_time>`"
msgid "``\"inspect\"``"
msgstr "``\"inspect\"``"
msgid ":c:member:`inspect <PyConfig.inspect>`"
msgstr ":c:member:`inspect <PyConfig.inspect>`"
msgid "``\"install_signal_handlers\"``"
msgstr "``\"install_signal_handlers\"``"
msgid ":c:member:`install_signal_handlers <PyConfig.install_signal_handlers>`"
msgstr ":c:member:`install_signal_handlers <PyConfig.install_signal_handlers>`"
msgid "``\"int_max_str_digits\"``"
msgstr "``\"int_max_str_digits\"``"
msgid ":c:member:`int_max_str_digits <PyConfig.int_max_str_digits>`"
msgstr ":c:member:`int_max_str_digits <PyConfig.int_max_str_digits>`"
msgid "``\"interactive\"``"
msgstr "``\"interactive\"``"
msgid ":c:member:`interactive <PyConfig.interactive>`"
msgstr ":c:member:`interactive <PyConfig.interactive>`"
msgid "``\"isolated\"``"
msgstr "``\"isolated\"``"
msgid ":c:member:`isolated <PyConfig.isolated>`"
msgstr ":c:member:`isolated <PyConfig.isolated>`"
msgid "``\"legacy_windows_fs_encoding\"``"
msgstr "``\"legacy_windows_fs_encoding\"``"
msgid ""
":c:member:`legacy_windows_fs_encoding <PyPreConfig."
"legacy_windows_fs_encoding>`"
msgstr ""
":c:member:`legacy_windows_fs_encoding <PyPreConfig."
"legacy_windows_fs_encoding>`"
msgid "``\"legacy_windows_stdio\"``"
msgstr "``\"legacy_windows_stdio\"``"
msgid ":c:member:`legacy_windows_stdio <PyConfig.legacy_windows_stdio>`"
msgstr ":c:member:`legacy_windows_stdio <PyConfig.legacy_windows_stdio>`"
msgid "``\"malloc_stats\"``"
msgstr "``\"malloc_stats\"``"
msgid ":c:member:`malloc_stats <PyConfig.malloc_stats>`"
msgstr ":c:member:`malloc_stats <PyConfig.malloc_stats>`"
msgid "``\"module_search_paths\"``"
msgstr "``\"module_search_paths\"``"
msgid ":c:member:`module_search_paths <PyConfig.module_search_paths>`"
msgstr ":c:member:`module_search_paths <PyConfig.module_search_paths>`"
msgid "``\"optimization_level\"``"
msgstr "``\"optimization_level\"``"
msgid ":c:member:`optimization_level <PyConfig.optimization_level>`"
msgstr ":c:member:`optimization_level <PyConfig.optimization_level>`"
msgid "``\"orig_argv\"``"
msgstr "``\"orig_argv\"``"
msgid ":c:member:`orig_argv <PyConfig.orig_argv>`"
msgstr ":c:member:`orig_argv <PyConfig.orig_argv>`"
msgid "``\"parse_argv\"``"
msgstr "``\"parse_argv\"``"
msgid ":c:member:`parse_argv <PyConfig.parse_argv>`"
msgstr ":c:member:`parse_argv <PyConfig.parse_argv>`"
msgid "``\"parser_debug\"``"
msgstr "``\"parser_debug\"``"
msgid ":c:member:`parser_debug <PyConfig.parser_debug>`"
msgstr ":c:member:`parser_debug <PyConfig.parser_debug>`"
msgid "``\"pathconfig_warnings\"``"
msgstr "``\"pathconfig_warnings\"``"
msgid ":c:member:`pathconfig_warnings <PyConfig.pathconfig_warnings>`"
msgstr ":c:member:`pathconfig_warnings <PyConfig.pathconfig_warnings>`"
msgid "``\"perf_profiling\"``"
msgstr "``\"perf_profiling\"``"
msgid ":c:member:`perf_profiling <PyConfig.perf_profiling>`"
msgstr ":c:member:`perf_profiling <PyConfig.perf_profiling>`"
msgid "``\"platlibdir\"``"
msgstr "``\"platlibdir\"``"
msgid ":c:member:`platlibdir <PyConfig.platlibdir>`"
msgstr ":c:member:`platlibdir <PyConfig.platlibdir>`"
msgid "``\"prefix\"``"
msgstr "``\"prefix\"``"
msgid ":c:member:`prefix <PyConfig.prefix>`"
msgstr ":c:member:`prefix <PyConfig.prefix>`"
msgid "``\"program_name\"``"
msgstr "``\"program_name\"``"
msgid ":c:member:`program_name <PyConfig.program_name>`"
msgstr ":c:member:`program_name <PyConfig.program_name>`"
msgid "``\"pycache_prefix\"``"
msgstr "``\"pycache_prefix\"``"
msgid ":c:member:`pycache_prefix <PyConfig.pycache_prefix>`"
msgstr ":c:member:`pycache_prefix <PyConfig.pycache_prefix>`"
msgid "``\"quiet\"``"
msgstr "``\"quiet\"``"
msgid ":c:member:`quiet <PyConfig.quiet>`"
msgstr ":c:member:`quiet <PyConfig.quiet>`"
msgid "``\"run_command\"``"
msgstr "``\"run_command\"``"
msgid ":c:member:`run_command <PyConfig.run_command>`"
msgstr ":c:member:`run_command <PyConfig.run_command>`"
msgid "``\"run_filename\"``"
msgstr "``\"run_filename\"``"
msgid ":c:member:`run_filename <PyConfig.run_filename>`"
msgstr ""
msgid "``\"run_module\"``"
msgstr ""
msgid ":c:member:`run_module <PyConfig.run_module>`"
msgstr ""
msgid "``\"run_presite\"``"
msgstr ""
msgid ":c:member:`run_presite <PyConfig.run_presite>`"
msgstr ""
msgid "``\"safe_path\"``"
msgstr ""
msgid ":c:member:`safe_path <PyConfig.safe_path>`"
msgstr ""
msgid "``\"show_ref_count\"``"
msgstr ""
msgid ":c:member:`show_ref_count <PyConfig.show_ref_count>`"
msgstr ""
msgid "``\"site_import\"``"
msgstr ""
msgid ":c:member:`site_import <PyConfig.site_import>`"
msgstr ""
msgid "``\"skip_source_first_line\"``"
msgstr ""
msgid ":c:member:`skip_source_first_line <PyConfig.skip_source_first_line>`"
msgstr ""
msgid "``\"stdio_encoding\"``"
msgstr ""
msgid ":c:member:`stdio_encoding <PyConfig.stdio_encoding>`"
msgstr ""
msgid "``\"stdio_errors\"``"
msgstr ""
msgid ":c:member:`stdio_errors <PyConfig.stdio_errors>`"
msgstr ""
msgid "``\"stdlib_dir\"``"
msgstr ""
msgid ":c:member:`stdlib_dir <PyConfig.stdlib_dir>`"
msgstr ""
msgid "``\"tracemalloc\"``"
msgstr ""
msgid ":c:member:`tracemalloc <PyConfig.tracemalloc>`"
msgstr ""
msgid "``\"use_environment\"``"
msgstr ""
msgid ":c:member:`use_environment <PyConfig.use_environment>`"
msgstr ""
msgid "``\"use_frozen_modules\"``"
msgstr ""
msgid ":c:member:`use_frozen_modules <PyConfig.use_frozen_modules>`"
msgstr ""
msgid "``\"use_hash_seed\"``"
msgstr ""
msgid ":c:member:`use_hash_seed <PyConfig.use_hash_seed>`"
msgstr ""
msgid "``\"use_system_logger\"``"
msgstr ""
msgid ":c:member:`use_system_logger <PyConfig.use_system_logger>`"
msgstr ""
msgid "``\"user_site_directory\"``"
msgstr ""
msgid ":c:member:`user_site_directory <PyConfig.user_site_directory>`"
msgstr ""
msgid "``\"utf8_mode\"``"
msgstr ""
msgid ":c:member:`utf8_mode <PyPreConfig.utf8_mode>`"
msgstr ""
msgid "``\"verbose\"``"
msgstr ""
msgid ":c:member:`verbose <PyConfig.verbose>`"
msgstr ""
msgid "``\"warn_default_encoding\"``"
msgstr ""
msgid ":c:member:`warn_default_encoding <PyConfig.warn_default_encoding>`"
msgstr ""
msgid "``\"warnoptions\"``"
msgstr ""
msgid ":c:member:`warnoptions <PyConfig.warnoptions>`"
msgstr ""
msgid "``\"write_bytecode\"``"
msgstr ""
msgid ":c:member:`write_bytecode <PyConfig.write_bytecode>`"
msgstr ""
msgid "``\"xoptions\"``"
msgstr ""
msgid ":c:member:`xoptions <PyConfig.xoptions>`"
msgstr ""
msgid "``dict[str, str]``"
msgstr ""
msgid "``\"_pystats\"``"
msgstr ""
msgid ":c:member:`_pystats <PyConfig._pystats>`"
msgstr ""
msgid "Visibility:"
msgstr ""
msgid ""
"Public: Can be retrieved by :c:func:`PyConfig_Get` and set by :c:func:"
"`PyConfig_Set`."
msgstr ""
msgid ""
"Read-only: Can be retrieved by :c:func:`PyConfig_Get`, but cannot be set by :"
"c:func:`PyConfig_Set`."
msgstr ""
msgid "Runtime Python configuration API"
msgstr ""
msgid ""
"At runtime, it's possible to get and set configuration options using :c:func:"
"`PyConfig_Get` and :c:func:`PyConfig_Set` functions."
msgstr ""
msgid ""
"Some options are read from the :mod:`sys` attributes. For example, the "
"option ``\"argv\"`` is read from :data:`sys.argv`."
msgstr ""
msgid ""
"Get the current runtime value of a configuration option as a Python object."
msgstr ""
msgid "Return a new reference on success."
msgstr ""
msgid "Set an exception and return ``NULL`` on error."
msgstr ""
msgid "The object type depends on the configuration option. It can be:"
msgstr ""
msgid ""
"The caller must have an :term:`attached thread state`. The function cannot "
"be called before Python initialization nor after Python finalization."
msgstr ""
msgid "Similar to :c:func:`PyConfig_Get`, but get the value as a C int."
msgstr ""
msgid "Set an exception and return ``-1`` on error."
msgstr ""
msgid "Get all configuration option names as a ``frozenset``."
msgstr ""
msgid "Set the current runtime value of a configuration option."
msgstr ""
msgid "Raise a :exc:`ValueError` if there is no option *name*."
msgstr ""
msgid "Raise a :exc:`ValueError` if *value* is an invalid value."
msgstr ""
msgid "Raise a :exc:`ValueError` if the option is read-only (cannot be set)."
msgstr ""
msgid "Raise a :exc:`TypeError` if *value* has not the proper type."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``cpython.PyConfig_Set`` with "
"arguments ``name``, ``value``."
msgstr ""
msgid "PyConfig C API"
msgstr ""
msgid ""
"Python can be initialized with :c:func:`Py_InitializeFromConfig` and the :c:"
"type:`PyConfig` structure. It can be preinitialized with :c:func:"
"`Py_PreInitialize` and the :c:type:`PyPreConfig` structure."
msgstr ""
msgid "There are two kinds of configuration:"
msgstr ""
msgid ""
"The :ref:`Python Configuration <init-python-config>` can be used to build a "
"customized Python which behaves as the regular Python. For example, "
"environment variables and command line arguments are used to configure "
"Python."
msgstr ""
msgid ""
"The :ref:`Isolated Configuration <init-isolated-conf>` can be used to embed "
"Python into an application. It isolates Python from the system. For example, "
"environment variables are ignored, the LC_CTYPE locale is left unchanged and "
"no signal handler is registered."
msgstr ""
msgid ":pep:`587` \"Python Initialization Configuration\"."
msgstr ""
msgid "Example of customized Python always running in isolated mode::"
msgstr ""
msgid ""
"int main(int argc, char **argv)\n"
"{\n"
" PyStatus status;\n"
"\n"
" PyConfig config;\n"
" PyConfig_InitPythonConfig(&config);\n"
" config.isolated = 1;\n"
"\n"
" /* Decode command line arguments.\n"
" Implicitly preinitialize Python (in isolated mode). */\n"
" status = PyConfig_SetBytesArgv(&config, argc, argv);\n"
" if (PyStatus_Exception(status)) {\n"
" goto exception;\n"
" }\n"
"\n"
" status = Py_InitializeFromConfig(&config);\n"
" if (PyStatus_Exception(status)) {\n"
" goto exception;\n"
" }\n"
" PyConfig_Clear(&config);\n"
"\n"
" return Py_RunMain();\n"
"\n"
"exception:\n"
" PyConfig_Clear(&config);\n"
" if (PyStatus_IsExit(status)) {\n"
" return status.exitcode;\n"
" }\n"
" /* Display the error message and exit the process with\n"
" non-zero exit code */\n"
" Py_ExitStatusException(status);\n"
"}"
msgstr ""
msgid "PyWideStringList"
msgstr ""
msgid "List of ``wchar_t*`` strings."
msgstr ""
msgid ""
"If *length* is non-zero, *items* must be non-``NULL`` and all strings must "
"be non-``NULL``."
msgstr ""
msgid "Methods:"
msgstr ""
msgid "Append *item* to *list*."
msgstr ""
msgid "Python must be preinitialized to call this function."
msgstr ""
msgid "Insert *item* into *list* at *index*."
msgstr ""
msgid ""
"If *index* is greater than or equal to *list* length, append *item* to "
"*list*."
msgstr ""
msgid "*index* must be greater than or equal to ``0``."
msgstr ""
msgid "Structure fields:"
msgstr ""
msgid "List length."
msgstr ""
msgid "List items."
msgstr ""
msgid "PyStatus"
msgstr ""
msgid ""
"Structure to store an initialization function status: success, error or exit."
msgstr ""
msgid "For an error, it can store the C function name which created the error."
msgstr ""
msgid "Exit code. Argument passed to ``exit()``."
msgstr ""
msgid "Error message."
msgstr ""
msgid "Name of the function which created an error, can be ``NULL``."
msgstr ""
msgid "Functions to create a status:"
msgstr ""
msgid "Success."
msgstr ""
msgid "Initialization error with a message."
msgstr ""
msgid "*err_msg* must not be ``NULL``."
msgstr ""
msgid "Memory allocation failure (out of memory)."
msgstr ""
msgid "Exit Python with the specified exit code."
msgstr ""
msgid "Functions to handle a status:"
msgstr ""
msgid ""
"Is the status an error or an exit? If true, the exception must be handled; "
"by calling :c:func:`Py_ExitStatusException` for example."
msgstr ""
msgid "Is the result an error?"
msgstr ""
msgid "Is the result an exit?"
msgstr ""
msgid ""
"Call ``exit(exitcode)`` if *status* is an exit. Print the error message and "
"exit with a non-zero exit code if *status* is an error. Must only be called "
"if ``PyStatus_Exception(status)`` is non-zero."
msgstr ""
msgid ""
"Internally, Python uses macros which set ``PyStatus.func``, whereas "
"functions to create a status set ``func`` to ``NULL``."
msgstr ""
msgid "Example::"
msgstr "Contoh::"
msgid ""
"PyStatus alloc(void **ptr, size_t size)\n"
"{\n"
" *ptr = PyMem_RawMalloc(size);\n"
" if (*ptr == NULL) {\n"
" return PyStatus_NoMemory();\n"
" }\n"
" return PyStatus_Ok();\n"
"}\n"
"\n"
"int main(int argc, char **argv)\n"
"{\n"
" void *ptr;\n"
" PyStatus status = alloc(&ptr, 16);\n"
" if (PyStatus_Exception(status)) {\n"
" Py_ExitStatusException(status);\n"
" }\n"
" PyMem_Free(ptr);\n"
" return 0;\n"
"}"
msgstr ""
msgid "PyPreConfig"
msgstr ""
msgid "Structure used to preinitialize Python."
msgstr ""
msgid "Function to initialize a preconfiguration:"
msgstr ""
msgid ""
"Initialize the preconfiguration with :ref:`Python Configuration <init-python-"