Results of 1 - 10 of about 159 for APIs (0.032 sec.)
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 11625
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...value )) { ... } Py_END_CRITICAL_SECTION (); Borrowed References ¶ Some C API functions return borrowed references . These APIs are not thread-safe if the containing object is modified concurrently. For example, it's not safe to use PyList_GetItem()...if the list may be modified concurrently. The following table lists some borrowed reference APIs and their replacements that return strong references . Borrowed reference API Strong reference API PyList_GetItem() PyList...) PyWeakref_GET_OBJECT() PyWeakref_GetRef() PyImport_AddModule() PyImport_AddModuleRef() PyCell_GET() PyCell_Get() Not all APIs that return borrowed references are problematic. For example, PyTuple_GetItem() is safe because tuples are immutable. Simi... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- C API Extension Support for Free Threading — Python 3.14.8 ドキュメント 11039
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...value )) { ... } Py_END_CRITICAL_SECTION (); Borrowed References ¶ Some C API functions return borrowed references . These APIs are not thread-safe if the containing object is modified concurrently. For example, it's not safe to use PyList_GetItem()...if the list may be modified concurrently. The following table lists some borrowed reference APIs and their replacements that return strong references . Borrowed reference API Strong reference API PyList_GetItem() PyList...) PyWeakref_GET_OBJECT() PyWeakref_GetRef() PyImport_AddModule() PyImport_AddModuleRef() PyCell_GET() PyCell_Get() Not all APIs that return borrowed references are problematic. For example, PyTuple_GetItem() is safe because tuples are immutable. Simi... - https://man.mtool.work/python/3.14/howto/free-threading-extensions.html
- Python/C API reference manual — Python 3.14.8 ドキュメント 9153
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual テーマ 自動 ライト ダーク | Python/C API reference manual ¶ このマニュアルでは、拡張モジュールを書いたり Python インタプリタをアプリ
...ブジェクト、型および参照カウント 例外 Python の埋め込み デバッグ版ビルド (Debugging Builds) おすすめのサードパーティツール C API Stability Unstable C API Stable Application Binary Interface プラットフォームで考慮すべき点 限定版APIの内容 超高水準レイヤ...字列の変換と書式化 Character classification and conversion PyHash API リフレクション codec レジストリとサポート関数 PyTime C API Support for Perf Maps 抽象オブジェクトレイヤ (Abstract Objects Layer) オブジェクトプロトコル (object protocol) Call プロトコ...hing the thread state from extension code Non-Python created threads Legacy API Cautions about fork() 高水準 API GIL-state APIs 低水準 API Asynchronous notifications Operating system thread APIs 同期プリミティブ Python critical section API Legacy loc... - https://man.mtool.work/python/3.14/c-api/
- Python/C API reference manual — Python 3.14.8 ドキュメント 9153
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual テーマ 自動 ライト ダーク | Python/C API reference manual ¶ このマニュアルでは、拡張モジュールを書いたり Python インタプリタをアプリ
...ブジェクト、型および参照カウント 例外 Python の埋め込み デバッグ版ビルド (Debugging Builds) おすすめのサードパーティツール C API Stability Unstable C API Stable Application Binary Interface プラットフォームで考慮すべき点 限定版APIの内容 超高水準レイヤ...字列の変換と書式化 Character classification and conversion PyHash API リフレクション codec レジストリとサポート関数 PyTime C API Support for Perf Maps 抽象オブジェクトレイヤ (Abstract Objects Layer) オブジェクトプロトコル (object protocol) Call プロトコ...hing the thread state from extension code Non-Python created threads Legacy API Cautions about fork() 高水準 API GIL-state APIs 低水準 API Asynchronous notifications Operating system thread APIs 同期プリミティブ Python critical section API Legacy loc... - https://man.mtool.work/python/3.14/c-api/
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8578
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...lead to unexpected behavior during interpreter finalization. See Cautions regarding runtime finalization for more details. APIs ¶ 以下のマクロは、通常末尾にセミコロンを付けずに使います; Python ソース配布物内の使用例を見てください。 注釈 These macros...のない Py_BEGIN_ALLOW_THREADS と同じです。 Non-Python created threads ¶ When threads are created using the dedicated Python APIs (such as the threading module), a thread state is automatically associated with them, However, when a thread is created fr...eThread() 注釈 Similar to PyGILState_Ensure() , this function will hang the thread if the runtime is finalizing. GIL-state APIs ¶ The following functions use thread-local storage, and are not compatible with sub-interpreters: type PyGILState_STATE ¶... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 8578
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...lead to unexpected behavior during interpreter finalization. See Cautions regarding runtime finalization for more details. APIs ¶ 以下のマクロは、通常末尾にセミコロンを付けずに使います; Python ソース配布物内の使用例を見てください。 注釈 These macros...のない Py_BEGIN_ALLOW_THREADS と同じです。 Non-Python created threads ¶ When threads are created using the dedicated Python APIs (such as the threading module), a thread state is automatically associated with them, However, when a thread is created fr...eThread() 注釈 Similar to PyGILState_Ensure() , this function will hang the thread if the runtime is finalizing. GIL-state APIs ¶ The following functions use thread-local storage, and are not compatible with sub-interpreters: type PyGILState_STATE ¶... - https://man.mtool.work/python/3.14/c-api/threads.html
- What's New In Python 3.11 — Python 3.14.8 ドキュメント 7854
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10
...itigation for CVE 2020-10735 . This limit can be configured or disabled by environment variable, command line flag, or sys APIs. See the integer string conversion length limitation documentation. The default limit is 4300 digits in string form. 新たな...y implement the methods of io.BufferedIOBase or io.TextIOBase (depending on file mode). This lets them work correctly with APIs that expect file-like objects, such as compression modules. (Contributed by Carey Metcalfe in gh-70363 .) threading ¶ On U...Removed COPY_DICT_WITHOUT_KEYS , GEN_START , POP_BLOCK , SETUP_FINALLY and YIELD_FROM . 非推奨 ¶ This section lists Python APIs that have been deprecated in Python 3.11. Deprecated C APIs are listed separately . Language/Builtins ¶ Chaining classmeth... - https://man.mtool.work/python/3.14/whatsnew/3.11.html
- 変更履歴 — Python 3.14.8 ドキュメント 7854
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...ldcard used by os.listdir() and os.scandir() , making paths with trailing spaces behave consistently with other filesystem APIs. gh-152849 : Out-of-range float and integer timestamps now raise OverflowError with the same message. Patch by tonghuaroot...on in _tkinter to assume that threads are always available in Tcl 9 and later. gh-137109 : The os.fork and related forking APIs will no longer warn in the common case where Linux or macOS platform APIs return the number of threads in a process and fi...structure is not part of stable ABI and so its memory layout is guaranteed to remain stable.) gh-133079 : The undocumented APIs Py_C_RECURSION_LIMIT and PyThreadState.c_recursion_remaining , added in 3.13, are removed without a deprecation period. gh... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- What's New In Python 3.11 — Python 3.14.8 ドキュメント 7854
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.11 テーマ 自動 ライト ダーク | What's New In Python 3.11 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.10
...itigation for CVE 2020-10735 . This limit can be configured or disabled by environment variable, command line flag, or sys APIs. See the integer string conversion length limitation documentation. The default limit is 4300 digits in string form. 新たな...y implement the methods of io.BufferedIOBase or io.TextIOBase (depending on file mode). This lets them work correctly with APIs that expect file-like objects, such as compression modules. (Contributed by Carey Metcalfe in gh-70363 .) threading ¶ On U...Removed COPY_DICT_WITHOUT_KEYS , GEN_START , POP_BLOCK , SETUP_FINALLY and YIELD_FROM . 非推奨 ¶ This section lists Python APIs that have been deprecated in Python 3.11. Deprecated C APIs are listed separately . Language/Builtins ¶ Chaining classmeth... - https://man.mtool.work/python/3.14/whatsnew/3.11.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 7704
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...ented in C-API extensions. They should generally not be used with built-in types like list and dict because their public C-APIs already use critical sections internally, with the notable exception of PyDict_Next() , which requires critical section to...riticalSection2_End ( & _py_cs2 ); } In the default build, this macro expands to } . Added in version 3.13. Legacy locking APIs ¶ These APIs are obsolete since Python 3.13 with the introduction of PyMutex . type PyThread_type_lock ¶ A pointer to a mu...py cs type thread function PyThread per free mutex Python 目次 同期プリミティブ Python critical section API Legacy locking APIs 前のトピックへ Thread states and the global interpreter lock 次のトピックへ Thread-local storage support This page Report... - https://man.mtool.work/python/3.14/c-api/synchronization.html