Results of 1 - 10 of about 96 for Initialize (0.032 sec.)
- インタープリタの初期化と終了処理 — Python 3.14.8 ドキュメント 14826
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » インタープリタの初期化と終了処理 テーマ 自動 ライト ダーク | インタープリタの初期化と終了処理 ¶ See Python Initialization Configu
...nfigure the interpreter prior to initialization. Before Python initialization ¶ In an application embedding Python, the Py_Initialize() function must be called before using any other Python/C API functions; with the exception of a few functions and the glo...bal configuration variables . 次の関数は Python の初期化の前でも安全に呼び出せます: Functions that initialize the interpreter: Py_Initialize() Py_InitializeEx() Py_InitializeFromConfig() Py_BytesMain() Py_Main() the runtime pre-init...tor() Py_SetProgramName() Py_SetPythonHome() the configuration functions covered in Python 初期化設定 情報取得の関数: Py_IsInitialized() PyMem_GetAllocator() PyObject_GetArenaAllocator() Py_GetBuildInfo() Py_GetCompiler() Py_GetCopyright() Py_GetPlatform()... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- インタープリタの初期化と終了処理 — Python 3.14.8 ドキュメント 14472
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » インタープリタの初期化と終了処理 テーマ 自動 ライト ダーク | インタープリタの初期化と終了処理 ¶ See Python Initialization Configu
...nfigure the interpreter prior to initialization. Before Python initialization ¶ In an application embedding Python, the Py_Initialize() function must be called before using any other Python/C API functions; with the exception of a few functions and the glo...bal configuration variables . 次の関数は Python の初期化の前でも安全に呼び出せます: Functions that initialize the interpreter: Py_Initialize() Py_InitializeEx() Py_InitializeFromConfig() Py_BytesMain() Py_Main() the runtime pre-init...tor() Py_SetProgramName() Py_SetPythonHome() the configuration functions covered in Python 初期化設定 情報取得の関数: Py_IsInitialized() PyMem_GetAllocator() PyObject_GetArenaAllocator() Py_GetBuildInfo() Py_GetCompiler() Py_GetCopyright() Py_GetPlatform()... - https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 8746
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initialize
...ドを有効化 if ( PyInitConfig_SetInt ( config , "dev_mode" , 1 ) < 0 ) { goto error ; } // Python を設定付きで初期化 if ( Py_InitializeFromInitConfig ( config ) < 0 ) { goto error ; } PyInitConfig_Free ( config ); return 0 ; error : { // エラーメッセージを表...exit code. Set *exitcode and return 1 if config has an exit code set. Return 0 if config has no exit code set. Only the Py_InitializeFromInitConfig() function can set an exit code if the parse_argv option is non-zero. An exit code can be set when parsing t...figuration Options . 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... - https://man.mtool.work/python/3.14/c-api/init_config.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 8746
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initialize
...ドを有効化 if ( PyInitConfig_SetInt ( config , "dev_mode" , 1 ) < 0 ) { goto error ; } // Python を設定付きで初期化 if ( Py_InitializeFromInitConfig ( config ) < 0 ) { goto error ; } PyInitConfig_Free ( config ); return 0 ; error : { // エラーメッセージを表...exit code. Set *exitcode and return 1 if config has an exit code set. Return 0 if config has no exit code set. Only the Py_InitializeFromInitConfig() function can set an exit code if the parse_argv option is non-zero. An exit code can be set when parsing t...figuration Options . 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... - https://man.mtool.work/python/3.14/c-api/init_config.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 8509
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...せん。メインプログラムがやらなければならないことの一つに、 Python インタプリタの初期化があります。とにかく少なくとも関数 Py_Initialize() を呼び出さねばなりません。オプションとして、Python 側にコマンドライン引数を渡すために関数呼び出しを行います。その後、アプ...g ( & config , & config . program_name , argv [ 0 ]); if ( PyStatus_Exception ( status )) { goto exception ; } status = Py_InitializeFromConfig ( & config ); if ( PyStatus_Exception ( status )) { goto exception ; } PyConfig_Clear ( & config ); PyRun_Simple...維持されています。このマクロの説明は 文字列とバッファ にあります。 Setting PyConfig.program_name should be called before Py_InitializeFromConfig() to inform the interpreter about paths to Python run-time libraries. Next, the Python interpreter is initialize... - https://man.mtool.work/python/3.14/extending/embedding.html
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.14.8 ドキュメント 8155
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. 他のアプリケーションへの Python の埋め込み テーマ 自動 ライト ダーク | 1. 他のアプリケーションへの Python の埋め込み ¶ 前
...せん。メインプログラムがやらなければならないことの一つに、 Python インタプリタの初期化があります。とにかく少なくとも関数 Py_Initialize() を呼び出さねばなりません。オプションとして、Python 側にコマンドライン引数を渡すために関数呼び出しを行います。その後、アプ...g ( & config , & config . program_name , argv [ 0 ]); if ( PyStatus_Exception ( status )) { goto exception ; } status = Py_InitializeFromConfig ( & config ); if ( PyStatus_Exception ( status )) { goto exception ; } PyConfig_Clear ( & config ); PyRun_Simple...維持されています。このマクロの説明は 文字列とバッファ にあります。 Setting PyConfig.program_name should be called before Py_InitializeFromConfig() to inform the interpreter about paths to Python run-time libraries. Next, the Python interpreter is initialize... - https://man.mtool.work/python/3.14/extending/embedding.html
- 変更履歴 — Python 3.14.8 ドキュメント 7341
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ed member's name replaced with the link's. Core and Builtins ¶ gh-158583 : bytes.fromhex() and bytearray.fromhex() : Fix uninitialized memory read. Patch by Victor Stinner. gh-156204 : Fix a crash in PyErr_GivenExceptionMatches() when evaluating deeply nes...ias parameters have been cached. gh-155504 : Fix a crash when thread state creation fails before the thread state is fully initialized. gh-155526 : Fix spurious OverflowError for abs(nanj) in case errno was previously set to ERANGE by some library call. Pa...s when called on a future that never resolves. gh-154871 : Fixed a crash in asyncio.Task.get_context() when called on an uninitialized task. gh-154855 : Fix curses.window.instr() returning one character too few when the curses module is built against a cur... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 7104
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...リームは根底にある同じファイル記述子を参照しています)。 The given config controls the options with which the interpreter is initialized. Upon success, tstate_p will be set to the first thread state created in the new sub-interpreter. This thread state is at...ws: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a separate module object is created and initialized for each interpreter. Only C-level static and global variables are shared between these module objects. For modules using...legacy single-phase initialization , e.g. PyModule_Create() , the first time a particular extension is imported, it is initialized normally, and a (shallow) copy of its module's dictionary is squirreled away. When the same extension is imported by anot... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- Multiple interpreters in a Python process — Python 3.14.8 ドキュメント 7104
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Multiple interpreters in a Python process テーマ 自動 ライト ダーク | Multiple interpreters in a Python process ¶ ほとんどの場合は
...リームは根底にある同じファイル記述子を参照しています)。 The given config controls the options with which the interpreter is initialized. Upon success, tstate_p will be set to the first thread state created in the new sub-interpreter. This thread state is at...ws: For modules using multi-phase initialization, e.g. PyModule_FromDefAndSpec() , a separate module object is created and initialized for each interpreter. Only C-level static and global variables are shared between these module objects. For modules using...legacy single-phase initialization , e.g. PyModule_Create() , the first time a particular extension is imported, it is initialized normally, and a (shallow) copy of its module's dictionary is squirreled away. When the same extension is imported by anot... - https://man.mtool.work/python/3.14/c-api/subinterpreters.html
- 拡張モジュールの定義 — Python 3.14.8 ドキュメント 6986
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 拡張モジュールの定義 テーマ 自動 ライト ダーク | 拡張モジュールの定義 ¶ A C extension for CPython is a shared library (for exampl
...etuptools.pypa.io/en/latest/setuptools.html にあります。 Normally, the initialization function returns a module definition initialized using PyModuleDef_Init() . This allows splitting the creation process into several phases: Before any substantial code is....__new__() for classes. It also sets initial attributes like __package__ and __loader__ . Afterwards, the module object is initialized using extension-specific code -- the equivalent of __init__() on classes. This is called multi-phase initialization to di...tional module instances may be created in sub-interpreters or after Python runtime reinitialization ( Py_Finalize() and Py_Initialize() ). In these cases, sharing Python objects between module instances would likely cause crashes or undefined behavior. To... - https://man.mtool.work/python/3.14/c-api/extension-modules.html