per page, with , order by , clip by
Results of 1 - 10 of about 159 for Ensure (0.049 sec.)
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 13327
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless ... need to create a thread state, call PyThreadState_New() followed by PyThreadState_Swap() , or use the dangerous PyGILState_Ensure() function. Detaching the thread state from extension code ¶ Most extension code manipulating the thread state has the fol ... a dangling pointer! Legacy API ¶ Another common pattern to call Python code from a non-Python thread is to use PyGILState_Ensure() followed by a call to PyGILState_Release() . These functions do not work well when multiple interpreters exist in the Py ... thon interpreter has ever been used in the current thread (which is common for threads created outside Python), PyGILState_Ensure will create and attach a thread state for the "main" interpreter (the first interpreter in the Python process). Additional ...
https://man.mtool.work/python/3.14/c-api/threads.html
変更履歴 — Python 3.14.8 ドキュメント 13051
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... amed module is executed as the main program without replacing sys.argv[0] . gh-155063 : Bump the version of pip bundled in ensurepip to version 26.2.1 gh-155063 : Bump the version of pip bundled in ensurepip to version 26.2 gh-154936 : Fix the pure Pyt ... locked on a read from a client that never closed (effectively requiring two interrupts to stop); the shutdown sequence now ensures client streams are closed so serve_forever() exits promptly and handlers observe EOF. gh-123471 : Make concurrent iterati ... -149117 : Fix runpy.run_module() and runpy.run_path() to set the name attribute on the ImportError they raise. gh-149148 : ensurepip : Upgrade bundled pip to 26.1. This version fixes the CVE 2026-3219 vulnerability. Patch by Victor Stinner. gh-148093 : ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 12913
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless ... need to create a thread state, call PyThreadState_New() followed by PyThreadState_Swap() , or use the dangerous PyGILState_Ensure() function. Detaching the thread state from extension code ¶ Most extension code manipulating the thread state has the fol ... a dangling pointer! Legacy API ¶ Another common pattern to call Python code from a non-Python thread is to use PyGILState_Ensure() followed by a call to PyGILState_Release() . These functions do not work well when multiple interpreters exist in the Py ... thon interpreter has ever been used in the current thread (which is common for threads created outside Python), PyGILState_Ensure will create and attach a thread state for the "main" interpreter (the first interpreter in the Python process). Additional ...
https://man.mtool.work/python/3.14/c-api/threads.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 8337
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... ます。根底のコンテナに順序がない場合のみ、順序が失われます。 基本的な使い方 ¶ json. dump ( obj , fp , * , skipkeys = False , ensure_ascii = True , check_circular = True , allow_nan = True , cls = None , indent = None , separators = None , default = None ... e not of a basic type ( str , int , float , bool , None ) will be skipped instead of raising a TypeError . Default False . ensure_ascii ( bool ) -- If True (the default), the output is guaranteed to have all incoming non-ASCII and non-printable charact ... バージョン 3.6 で変更: すべてのオプション引数は、 キーワード専用 になりました。 json. dumps ( obj , * , skipkeys = False , ensure_ascii = True , check_circular = True , allow_nan = True , cls = None , indent = None , separators = None , default = None ...
https://man.mtool.work/python/3.14/library/json.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 8337
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... ます。根底のコンテナに順序がない場合のみ、順序が失われます。 基本的な使い方 ¶ json. dump ( obj , fp , * , skipkeys = False , ensure_ascii = True , check_circular = True , allow_nan = True , cls = None , indent = None , separators = None , default = None ... e not of a basic type ( str , int , float , bool , None ) will be skipped instead of raising a TypeError . Default False . ensure_ascii ( bool ) -- If True (the default), the output is guaranteed to have all incoming non-ASCII and non-printable charact ... バージョン 3.6 で変更: すべてのオプション引数は、 キーワード専用 になりました。 json. dumps ( obj , * , skipkeys = False , ensure_ascii = True , check_circular = True , allow_nan = True , cls = None , indent = None , separators = None , default = None ...
https://man.mtool.work/python/3.14/library/json.html
optparse --- Parser for command line options — Python 3.14.8 ドキュメント 6945
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa ... common option action is store , which tells optparse to take the next argument (or the remainder of the current argument), ensure that it is of the correct type, and store it to your chosen destination. 例えば: parser . add_option ( "-f" , "--file" , a ... ( self , action , dest , opt , value , values , parser ): if action == "extend" : lvalue = value . split ( "," ) values . ensure_value ( dest , []) . extend ( lvalue ) else : Option . take_action ( self , action , dest , opt , value , values , parser ... マンドラインの値を予期していると同時にその値をどこかに格納しますので、 STORE_ACTIONS と TYPED_ACTIONS の両方に入ります。 to ensure that optparse assigns the default type of "string" to "extend" actions, we put the "extend" action in ALWAYS_TYPED_ACTIONS ...
https://man.mtool.work/python/3.14/library/optparse.html
optparse --- Parser for command line options — Python 3.14.8 ドキュメント 6945
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa ... common option action is store , which tells optparse to take the next argument (or the remainder of the current argument), ensure that it is of the correct type, and store it to your chosen destination. 例えば: parser . add_option ( "-f" , "--file" , a ... ( self , action , dest , opt , value , values , parser ): if action == "extend" : lvalue = value . split ( "," ) values . ensure_value ( dest , []) . extend ( lvalue ) else : Option . take_action ( self , action , dest , opt , value , values , parser ... マンドラインの値を予期していると同時にその値をどこかに格納しますので、 STORE_ACTIONS と TYPED_ACTIONS の両方に入ります。 to ensure that optparse assigns the default type of "string" to "extend" actions, we put the "extend" action in ALWAYS_TYPED_ACTIONS ...
https://man.mtool.work/python/3.14/library/optparse.html
C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 6807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release ... State and GIL APIs ¶ Python provides a set of functions and macros to manage thread state and the GIL, such as: PyGILState_Ensure() and PyGILState_Release() PyEval_SaveThread() and PyEval_RestoreThread() Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS ... hread state even when the GIL is disabled. For example, if you create a thread outside of Python, you must call PyGILState_Ensure() before calling into the Python API to ensure that the thread has a valid Python thread state. You should continue to cal ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 6807
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » C API Extension Support for Free Threading テーマ 自動 ライト ダーク | C API Extension Support for Free Threading ¶ Starting with the 3.13 release ... State and GIL APIs ¶ Python provides a set of functions and macros to manage thread state and the GIL, such as: PyGILState_Ensure() and PyGILState_Release() PyEval_SaveThread() and PyEval_RestoreThread() Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS ... hread state even when the GIL is disabled. For example, if you create a thread outside of Python, you must call PyGILState_Ensure() before calling into the Python API to ensure that the thread has a valid Python thread state. You should continue to cal ...
https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
Remote debugging attachment protocol — Python 3.14.8 ドキュメント 6669
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Remote debugging attachment protocol テーマ 自動 ライト ダーク | Remote debugging attachment protocol ¶ This protocol enables external tools to at ... s. Select your user account. In Permissions , check Read or Full control as needed. Click Apply , then OK to confirm. 注釈 Ensure you've satisfied all Permission requirements before proceeding. This section describes the low-level protocol that enables ... ly read interpreter and thread state memory. These offsets vary between CPython versions and must be checked before use to ensure they are compatible. To read and check the debug offsets, follow these steps: Read memory from the target process starting ... ch in free-threaded configuration" ) return debug_offsets 警告 Process suspension recommended To avoid race conditions and ensure memory consistency, it is strongly recommended that the target process be suspended before performing any operations that ...
https://man.mtool.work/python/3.14/howto/remote_debugging.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT