GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-docs-ja/c-api/init_config.po at 3.14 · python/python-docs-ja Expand file tree/ Copy pathinit_config.poMore file actions 3652 lines (2992 loc) · 141 KB / Copy pathinit_config.poFile metadata and controls3652 lines (2992 loc) · 141 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 # b785ccb154ea7c5e4722f287fb17d327_f3b4082, 2025 # Cheesecake, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-29 18:58+0000\n" "PO-Revision-Date: 2025-09-16 00:00+0000\n" "Last-Translator: Cheesecake, 2025\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" "ja/)\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" msgid "Python Initialization Configuration" msgstr "Python 初期化設定" #: ../../c-api/init_config.rst:13 msgid "PyInitConfig C API" msgstr "PyInitConfig C API" #: ../../c-api/init_config.rst:17 msgid "Python can be initialized with :c:func:`Py_InitializeFromInitConfig`." msgstr "Python は :c:func:`Py_InitializeFromInitConfig` で初期化できます。" #: ../../c-api/init_config.rst:19 ../../c-api/init_config.rst:654 msgid "" "The :c:func:`Py_RunMain` function can be used to write a customized Python " "program." msgstr "" ":c:func:`Py_RunMain` 関数は、カスタマイズされた Python プログラムを書くために" "使用できます。" #: ../../c-api/init_config.rst:22 ../../c-api/init_config.rst:657 msgid "" "See also :ref:`Initialization, Finalization, and Threads <initialization>`." msgstr "" ":ref:`Initialization, Finalization, and Threads <initialization>` も参照して" "ください。" #: ../../c-api/init_config.rst:25 msgid ":pep:`741` \"Python Configuration C API\"." msgstr ":pep:`741` \"Python Configuration C API\"." #: ../../c-api/init_config.rst:29 ../../c-api/init_config.rst:664 msgid "Example" msgstr "使用例" #: ../../c-api/init_config.rst:31 msgid "" "Example of customized Python always running with the :ref:`Python " "Development Mode <devmode>` enabled; return ``-1`` on error:" msgstr "" "常に :ref:`Python 開発モード <devmode>` が有効化された状態で実行されるカスタ" "マイズされた Python の例。エラー時は ``-1`` を返します:" #: ../../c-api/init_config.rst:34 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 "" "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" " // Python 開発モードを有効化\n" " if (PyInitConfig_SetInt(config, \"dev_mode\", 1) < 0) {\n" " goto error;\n" " }\n" "\n" " // Python を設定付きで初期化\n" " if (Py_InitializeFromInitConfig(config) < 0) {\n" " goto error;\n" " }\n" " PyInitConfig_Free(config);\n" " return 0;\n" "\n" "error:\n" " {\n" " // エラーメッセージを表示する。\n" " //\n" " // この稀な括弧スタイルは、変数宣言を指す goto ターゲットを\n" " // 作ることができないために使用されています。\n" "\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" "}" #: ../../c-api/init_config.rst:71 msgid "Create Config" msgstr "設定の作成" #: ../../c-api/init_config.rst:75 msgid "Opaque structure to configure the Python initialization." msgstr "Python の初期化を構成するための不透明な構造体です。" msgid "" "Create a new initialization configuration using :ref:`Isolated Configuration " "<init-isolated-conf>` default values." msgstr "" ":ref:`隔離設定 <init-isolated-conf>` のデフォルト値を使って、新しい初期化設定" "を作成します。" msgid "It must be freed by :c:func:`PyInitConfig_Free`." msgstr ":c:func:`PyInitConfig_Free` で解放しなければなりません。" msgid "Return ``NULL`` on memory allocation failure." msgstr "メモリの確保に失敗した場合は ``NULL`` を返します。" msgid "Free memory of the initialization configuration *config*." msgstr "初期化設定 *config* のメモリを解放します。" msgid "If *config* is ``NULL``, no operation is performed." msgstr "*config* が ``NULL`` の場合は、何も行いません。" #: ../../c-api/init_config.rst:96 msgid "Error Handling" msgstr "エラー処理" msgid "Get the *config* error message." msgstr "*config* のエラーメッセージを取得します。" msgid "Set *\\*err_msg* and return ``1`` if an error is set." msgstr "エラーが設定されていれば、*\\*err_msg* を設定して ``1`` を返します。" msgid "Set *\\*err_msg* to ``NULL`` and return ``0`` otherwise." msgstr "" "それ以外の場合は、*\\*err_msg* を ``NULL`` に設定して ``0`` を返します。" msgid "An error message is a UTF-8 encoded string." msgstr "エラーメッセージは、UTF-8 でエンコードされた文字列です。" msgid "If *config* has an exit code, format the exit code as an error message." msgstr "" "*config* に終了コードがある場合は、その終了コードをエラーメッセージの形式にし" "ます。" 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 "" "エラーメッセージは、*config* を使って別の ``PyInitConfig`` 関数を呼び出すまで" "有効です。\n" "呼び出し元がエラーメッセージを解放する必要はありません。" msgid "Get the *config* exit code." msgstr "*config* の終了コードを取得します。" msgid "Set *\\*exitcode* and return ``1`` if *config* has an exit code set." msgstr "" "*config* に終了コードが設定されていれば、*\\*exitcode* を設定して ``1`` を返" "します。" msgid "Return ``0`` if *config* has no exit code set." msgstr "*config* に終了コードが設定されていなければ ``0`` を返します。" msgid "" "Only the ``Py_InitializeFromInitConfig()`` function can set an exit code if " "the ``parse_argv`` option is non-zero." msgstr "" "終了コードを設定できるのは、``parse_argv`` オプションがゼロ以外の場合の " "``Py_InitializeFromInitConfig()`` 関数だけです。" 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 "" "コマンドラインの解析に失敗した場合 (終了コード ``2``) や、コマンドラインオプ" "ションでヘルプの表示が要求された場合 (終了コード ``0``) に、終了コードが設定" "されることがあります。" 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 "" "設定オプションの *name* 引数は、``NULL`` でない、null 終端の UTF-8 エンコード" "文字列でなければなりません。\n" ":ref:`設定オプション <pyinitconfig-opts>` を参照してください。" msgid "Test if the configuration has an option called *name*." msgstr "設定に *name* というオプションがあるかを調べます。" msgid "Return ``1`` if the option exists, or return ``0`` otherwise." msgstr "オプションがあれば ``1``、なければ ``0`` を返します。" msgid "Get an integer configuration option." msgstr "整数の設定オプションを取得します。" msgid "Set *\\*value*, and return ``0`` on success." msgstr "成功時は *\\*value* を設定し、``0`` を返します。" msgid "Set an error in *config* and return ``-1`` on error." msgstr "エラー時は *config* にエラーを設定し、``-1`` を返します。" msgid "" "Get a string configuration option as a null-terminated UTF-8 encoded string." msgstr "" "文字列の設定オプションを、null 終端の UTF-8 エンコード文字列として取得しま" "す。" msgid "" "*\\*value* can be set to ``NULL`` if the option is an optional string and " "the option is unset." msgstr "" "オプションが省略可能な文字列で、設定されていない場合は、*\\*value* が " "``NULL`` に設定されることがあります。" msgid "" "On success, the string must be released with ``free(value)`` if it's not " "``NULL``." msgstr "" "成功時に取得した文字列が ``NULL`` でなければ、呼び出し元で ``free(value)`` を" "使って解放しなければなりません。" msgid "" "Get a string list configuration option as an array of null-terminated UTF-8 " "encoded strings." msgstr "" "文字列リストの設定オプションを、null 終端の UTF-8 エンコード文字列の配列とし" "て取得します。" #: ../../c-api/init_config.rst:171 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 "" "成功時は、``PyInitConfig_FreeStrList(length, items)`` で文字列リストを解放し" "なければなりません。" msgid "Free memory of a string list created by ``PyInitConfig_GetStrList()``." msgstr "" "``PyInitConfig_GetStrList()`` で作成した文字列リストのメモリを解放します。" 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 "" "一部の設定オプションは、ほかのオプションに影響します。\n" "この処理は ``Py_InitializeFromInitConfig()`` の呼び出し時にのみ行われ、以下の" "設定関数では行われません。\n" "例えば、``dev_mode`` を ``1`` に設定しても、``faulthandler`` は ``1`` になり" "ません。" msgid "Set an integer configuration option." msgstr "整数の設定オプションを設定します。" msgid "Return ``0`` on success." msgstr "成功時は ``0`` を返します。" msgid "" "Set a string configuration option from a null-terminated UTF-8 encoded " "string. The string is copied." msgstr "" "文字列の設定オプションを、null 終端の UTF-8 エンコード文字列で設定します。\n" "文字列はコピーされます。" msgid "" "Set a string list configuration option from an array of null-terminated " "UTF-8 encoded strings. The string list is copied." msgstr "" "文字列リストの設定オプションを、null 終端の UTF-8 エンコード文字列の配列で設" "定します。\n" "文字列リストはコピーされます。" 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 "" "新しいモジュールは *name* という名前でインポートでき、最初のインポートの試行" "時に呼び出す初期化関数として *initfunc* を使います。" msgid "" "If Python is initialized multiple times, ``PyInitConfig_AddModule()`` must " "be called at each Python initialization." msgstr "" "Python を複数回初期化する場合は、初期化のたびに ``PyInitConfig_AddModule()`` " "を呼び出さなければなりません。" msgid "Similar to the :c:func:`PyImport_AppendInittab` function." msgstr ":c:func:`PyImport_AppendInittab` 関数と同様です。" msgid "Initialize Python" msgstr "Python の初期化" msgid "Initialize Python from the initialization configuration." msgstr "初期化設定から Python を初期化します。" msgid "Set an exit code in *config* and return ``-1`` if Python wants to exit." msgstr "" "Python が終了を要求する場合は、*config* に終了コードを設定して ``-1`` を返し" "ます。" msgid "See ``PyInitConfig_GetExitcode()`` for the exit code case." msgstr "" "終了コードが設定された場合については、``PyInitConfig_GetExitcode()`` を参照し" "てください。" msgid "Configuration Options" msgstr "設定オプション" #: ../../c-api/init_config.rst:264 msgid "Option" msgstr "オプション" msgid "PyConfig/PyPreConfig member" msgstr "PyConfig/PyPreConfig のメンバー" #: ../../c-api/init_config.rst:266 msgid "Type" msgstr "型" #: ../../c-api/init_config.rst:267 msgid "Visibility" msgstr "可視性" msgid "``\"allocator\"``" msgstr "``\"allocator\"``" msgid ":c:member:`allocator <PyPreConfig.allocator>`" msgstr ":c:member:`allocator <PyPreConfig.allocator>`" #: ../../c-api/init_config.rst:270 ../../c-api/init_config.rst:294 #: ../../c-api/init_config.rst:322 ../../c-api/init_config.rst:358 #: ../../c-api/init_config.rst:366 ../../c-api/init_config.rst:378 #: ../../c-api/init_config.rst:406 ../../c-api/init_config.rst:494 #: ../../c-api/init_config.rst:522 ../../c-api/init_config.rst:576 msgid "``int``" msgstr "``int``" #: ../../c-api/init_config.rst:271 ../../c-api/init_config.rst:291 #: ../../c-api/init_config.rst:299 ../../c-api/init_config.rst:303 #: ../../c-api/init_config.rst:307 ../../c-api/init_config.rst:311 #: ../../c-api/init_config.rst:315 ../../c-api/init_config.rst:319 #: ../../c-api/init_config.rst:327 ../../c-api/init_config.rst:331 #: ../../c-api/init_config.rst:335 ../../c-api/init_config.rst:347 #: ../../c-api/init_config.rst:351 ../../c-api/init_config.rst:355 #: ../../c-api/init_config.rst:359 ../../c-api/init_config.rst:363 #: ../../c-api/init_config.rst:367 ../../c-api/init_config.rst:375 #: ../../c-api/init_config.rst:387 ../../c-api/init_config.rst:391 #: ../../c-api/init_config.rst:395 ../../c-api/init_config.rst:399 #: ../../c-api/init_config.rst:411 ../../c-api/init_config.rst:415 #: ../../c-api/init_config.rst:423 ../../c-api/init_config.rst:427 #: ../../c-api/init_config.rst:439 ../../c-api/init_config.rst:451 #: ../../c-api/init_config.rst:455 ../../c-api/init_config.rst:459 #: ../../c-api/init_config.rst:463 ../../c-api/init_config.rst:467 #: ../../c-api/init_config.rst:471 ../../c-api/init_config.rst:475 #: ../../c-api/init_config.rst:479 ../../c-api/init_config.rst:483 #: ../../c-api/init_config.rst:487 ../../c-api/init_config.rst:495 #: ../../c-api/init_config.rst:503 ../../c-api/init_config.rst:507 #: ../../c-api/init_config.rst:511 ../../c-api/init_config.rst:515 #: ../../c-api/init_config.rst:519 ../../c-api/init_config.rst:527 #: ../../c-api/init_config.rst:543 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 "公開" 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>`" #: ../../c-api/init_config.rst:278 ../../c-api/init_config.rst:282 #: ../../c-api/init_config.rst:286 ../../c-api/init_config.rst:298 #: ../../c-api/init_config.rst:334 ../../c-api/init_config.rst:338 #: ../../c-api/init_config.rst:342 ../../c-api/init_config.rst:350 #: ../../c-api/init_config.rst:354 ../../c-api/init_config.rst:362 #: ../../c-api/init_config.rst:430 ../../c-api/init_config.rst:434 #: ../../c-api/init_config.rst:438 ../../c-api/init_config.rst:442 #: ../../c-api/init_config.rst:450 ../../c-api/init_config.rst:454 #: ../../c-api/init_config.rst:458 ../../c-api/init_config.rst:462 #: ../../c-api/init_config.rst:482 ../../c-api/init_config.rst:486 #: ../../c-api/init_config.rst:490 ../../c-api/init_config.rst:577 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>`" #: ../../c-api/init_config.rst:290 ../../c-api/init_config.rst:302 #: ../../c-api/init_config.rst:306 ../../c-api/init_config.rst:310 #: ../../c-api/init_config.rst:314 ../../c-api/init_config.rst:318 #: ../../c-api/init_config.rst:326 ../../c-api/init_config.rst:330 #: ../../c-api/init_config.rst:346 ../../c-api/init_config.rst:370 #: ../../c-api/init_config.rst:374 ../../c-api/init_config.rst:382 #: ../../c-api/init_config.rst:386 ../../c-api/init_config.rst:390 #: ../../c-api/init_config.rst:394 ../../c-api/init_config.rst:398 #: ../../c-api/init_config.rst:414 ../../c-api/init_config.rst:418 #: ../../c-api/init_config.rst:422 ../../c-api/init_config.rst:426 #: ../../c-api/init_config.rst:446 ../../c-api/init_config.rst:466 #: ../../c-api/init_config.rst:470 ../../c-api/init_config.rst:474 #: ../../c-api/init_config.rst:478 ../../c-api/init_config.rst:498 #: ../../c-api/init_config.rst:502 ../../c-api/init_config.rst:506 #: ../../c-api/init_config.rst:510 ../../c-api/init_config.rst:514 #: ../../c-api/init_config.rst:518 ../../c-api/init_config.rst:526 #: ../../c-api/init_config.rst:534 ../../c-api/init_config.rst:542 #: ../../c-api/init_config.rst:575 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 ":c:member:`run_filename <PyConfig.run_filename>`" msgid "``\"run_module\"``" msgstr "``\"run_module\"``" msgid ":c:member:`run_module <PyConfig.run_module>`" msgstr ":c:member:`run_module <PyConfig.run_module>`" msgid "``\"run_presite\"``" msgstr "``\"run_presite\"``" msgid ":c:member:`run_presite <PyConfig.run_presite>`" msgstr ":c:member:`run_presite <PyConfig.run_presite>`" msgid "``\"safe_path\"``" msgstr "``\"safe_path\"``" msgid ":c:member:`safe_path <PyConfig.safe_path>`" msgstr ":c:member:`safe_path <PyConfig.safe_path>`" msgid "``\"show_ref_count\"``" msgstr "``\"show_ref_count\"``" msgid ":c:member:`show_ref_count <PyConfig.show_ref_count>`" msgstr ":c:member:`show_ref_count <PyConfig.show_ref_count>`" msgid "``\"site_import\"``" msgstr "``\"site_import\"``" msgid ":c:member:`site_import <PyConfig.site_import>`" msgstr ":c:member:`site_import <PyConfig.site_import>`" msgid "``\"skip_source_first_line\"``" msgstr "``\"skip_source_first_line\"``" msgid ":c:member:`skip_source_first_line <PyConfig.skip_source_first_line>`" msgstr ":c:member:`skip_source_first_line <PyConfig.skip_source_first_line>`" msgid "``\"stdio_encoding\"``" msgstr "``\"stdio_encoding\"``" msgid ":c:member:`stdio_encoding <PyConfig.stdio_encoding>`" msgstr ":c:member:`stdio_encoding <PyConfig.stdio_encoding>`" msgid "``\"stdio_errors\"``" msgstr "``\"stdio_errors\"``" msgid ":c:member:`stdio_errors <PyConfig.stdio_errors>`" msgstr ":c:member:`stdio_errors <PyConfig.stdio_errors>`" msgid "``\"stdlib_dir\"``" msgstr "``\"stdlib_dir\"``" msgid ":c:member:`stdlib_dir <PyConfig.stdlib_dir>`" msgstr ":c:member:`stdlib_dir <PyConfig.stdlib_dir>`" msgid "``\"tracemalloc\"``" msgstr "``\"tracemalloc\"``" msgid ":c:member:`tracemalloc <PyConfig.tracemalloc>`" msgstr ":c:member:`tracemalloc <PyConfig.tracemalloc>`" msgid "``\"use_environment\"``" msgstr "``\"use_environment\"``" msgid ":c:member:`use_environment <PyConfig.use_environment>`" msgstr ":c:member:`use_environment <PyConfig.use_environment>`" msgid "``\"use_frozen_modules\"``" msgstr "``\"use_frozen_modules\"``" msgid ":c:member:`use_frozen_modules <PyConfig.use_frozen_modules>`" msgstr ":c:member:`use_frozen_modules <PyConfig.use_frozen_modules>`" msgid "``\"use_hash_seed\"``" msgstr "``\"use_hash_seed\"``" msgid ":c:member:`use_hash_seed <PyConfig.use_hash_seed>`" msgstr ":c:member:`use_hash_seed <PyConfig.use_hash_seed>`" msgid "``\"use_system_logger\"``" msgstr "``\"use_system_logger\"``" msgid ":c:member:`use_system_logger <PyConfig.use_system_logger>`" msgstr ":c:member:`use_system_logger <PyConfig.use_system_logger>`" msgid "``\"user_site_directory\"``" msgstr "``\"user_site_directory\"``" msgid ":c:member:`user_site_directory <PyConfig.user_site_directory>`" msgstr ":c:member:`user_site_directory <PyConfig.user_site_directory>`" msgid "``\"utf8_mode\"``" msgstr "``\"utf8_mode\"``" msgid ":c:member:`utf8_mode <PyPreConfig.utf8_mode>`" msgstr ":c:member:`utf8_mode <PyPreConfig.utf8_mode>`" msgid "``\"verbose\"``" msgstr "``\"verbose\"``" msgid ":c:member:`verbose <PyConfig.verbose>`" msgstr ":c:member:`verbose <PyConfig.verbose>`" msgid "``\"warn_default_encoding\"``" msgstr "``\"warn_default_encoding\"``" msgid ":c:member:`warn_default_encoding <PyConfig.warn_default_encoding>`" msgstr ":c:member:`warn_default_encoding <PyConfig.warn_default_encoding>`" msgid "``\"warnoptions\"``" msgstr "``\"warnoptions\"``" msgid ":c:member:`warnoptions <PyConfig.warnoptions>`" msgstr ":c:member:`warnoptions <PyConfig.warnoptions>`" msgid "``\"write_bytecode\"``" msgstr "``\"write_bytecode\"``" msgid ":c:member:`write_bytecode <PyConfig.write_bytecode>`" msgstr ":c:member:`write_bytecode <PyConfig.write_bytecode>`" msgid "``\"xoptions\"``" msgstr "``\"xoptions\"``" msgid ":c:member:`xoptions <PyConfig.xoptions>`" msgstr ":c:member:`xoptions <PyConfig.xoptions>`" msgid "``dict[str, str]``" msgstr "``dict[str, str]``" msgid "``\"_pystats\"``" msgstr "``\"_pystats\"``" msgid ":c:member:`_pystats <PyConfig._pystats>`" msgstr ":c:member:`_pystats <PyConfig._pystats>`" msgid "Visibility:" msgstr "可視性:" msgid "" "Public: Can be retrieved by :c:func:`PyConfig_Get` and set " "by :c:func:`PyConfig_Set`." msgstr "" "公開: :c:func:`PyConfig_Get` で取得でき、:c:func:`PyConfig_Set` で設定できま" "す。" msgid "" "Read-only: Can be retrieved by :c:func:`PyConfig_Get`, but cannot be set " "by :c:func:`PyConfig_Set`." msgstr "" "読み取り専用: :c:func:`PyConfig_Get` で取得できます" "が、:c:func:`PyConfig_Set` では設定できません。" msgid "Runtime Python configuration API" msgstr "実行時の Python 設定 API" msgid "" "At runtime, it's possible to get and set configuration options " "using :c:func:`PyConfig_Get` and :c:func:`PyConfig_Set` functions." msgstr "" "実行時には、:c:func:`PyConfig_Get` と :c:func:`PyConfig_Set` を使って設定オプ" "ションを取得・設定できます。" msgid "" "Some options are read from the :mod:`sys` attributes. For example, the " "option ``\"argv\"`` is read from :data:`sys.argv`." msgstr "" "一部のオプションは :mod:`sys` の属性から読み取ります。\n" "例えば、``\"argv\"`` オプションは :data:`sys.argv` から読み取ります。" msgid "" "Get the current runtime value of a configuration option as a Python object." msgstr "" "設定オプションの現在の実行時の値を、Python オブジェクトとして取得します。" msgid "Return a new reference on success." msgstr "成功時は新しい参照を返します。" msgid "Set an exception and return ``NULL`` on error." msgstr "エラー時には例外を設定して ``NULL`` を返します。" 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 "" "呼び出し元には :term:`スレッド状態がアタッチされていなければなりません " "<attached thread state>`。\n" "Python の初期化前や終了処理後には呼び出せません。" msgid "Similar to :c:func:`PyConfig_Get`, but get the value as a C int." msgstr "" ":c:func:`PyConfig_Get` と同様ですが、値を C の ``int`` として取得します。" msgid "Set an exception and return ``-1`` on error." msgstr "エラー時は例外を設定して ``-1`` を返します。" msgid "Get all configuration option names as a ``frozenset``." msgstr "すべての設定オプションの名前を ``frozenset`` として取得します。" msgid "Set the current runtime value of a configuration option." msgstr "設定オプションの現在の実行時の値を設定します。" msgid "Raise a :exc:`ValueError` if there is no option *name*." msgstr "*name* というオプションがなければ :exc:`ValueError` を送出します。" msgid "Raise a :exc:`ValueError` if *value* is an invalid value." msgstr "*value* が無効な値の場合は :exc:`ValueError` を送出します。" msgid "Raise a :exc:`ValueError` if the option is read-only (cannot be set)." msgstr "" "オプションが読み取り専用で設定できない場合は :exc:`ValueError` を送出します。" msgid "Raise a :exc:`TypeError` if *value* has not the proper type." msgstr "*value* の型が正しくない場合は :exc:`TypeError` を送出します。" msgid "" "Raises an :ref:`auditing event <auditing>` ``cpython.PyConfig_Set`` with " "arguments ``name``, ``value``." msgstr "" "引数 ``name``、``value`` を指定して、:ref:`監査イベント <auditing>` " "``cpython.PyConfig_Set`` を送出します。" msgid "" "The function now replaces :data:`sys.flags` (create a new object), instead " "of modifying :data:`sys.flags` in-place." msgstr "" ":data:`sys.flags` をその場で変更するのではなく、新しいオブジェクトを作成し" "て :data:`sys.flags` を置き換えるようになりました。" msgid "PyConfig C API" msgstr "PyConfig C API" #: ../../c-api/init_config.rst:638 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 "" "Pythonは :c:func:`Py_InitializeFromConfig` と :c:type:`PyConfig` 構造体を" "使って初期化できます。:c:func:`Py_PreInitialize` と :c:type:`PyPreConfig` " "構造体によって事前に初期化できます。" #: ../../c-api/init_config.rst:642 msgid "There are two kinds of configuration:" msgstr "設定には二つの種類があります:" #: ../../c-api/init_config.rst:644 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 " |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |