Results of 1 - 10 of about 337 for calling (0.062 sec.)
- 変更履歴 — Python 3.14.8 ドキュメント 14404
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...SLContext no longer removes the current callback. Deleting it now raises AttributeError instead of TypeError . gh-156173 : Calling zlib.Decompress.flush() on invalid compressed data now raises zlib.error instead of being silently ignored. gh-152817 : sq...aracters unencodable in the generated HTML page are escaped with backslashes. gh-155143 : Fix asyncio.shield() leaking the calling task via the await-graph and callbacks when called on a future that never resolves. gh-154871 : Fixed a crash in asyncio.T...or logging.raiseExceptions for errors that occur while opening the file, like for other errors during logging. gh-153970 : Calling str() on a subprocess.CalledProcessError no longer raises TypeError when its returncode is not an integer, such as None .... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 8311
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外
...ソースコード: Lib/ctypes ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python. This is an optional module ....ies by accessing them as attributes of these objects. cdll loads libraries which export functions using the standard cdecl calling convention, while windll libraries call functions using the stdcall calling convention. oledll also uses the stdcall calli...amples for Windows. Note that msvcrt is the MS standard C library containing most standard C functions, and uses the cdecl calling convention: >>> from ctypes import * >>> print ( windll . kernel32 ) <WinDLL 'kernel32', handle ... at ...> >>> print ( cd... - https://man.mtool.work/python/3.14/library/ctypes.html
- ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 8202
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外
...ソースコード: Lib/ctypes ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these libraries in pure Python. This is an optional module ....ies by accessing them as attributes of these objects. cdll loads libraries which export functions using the standard cdecl calling convention, while windll libraries call functions using the stdcall calling convention. oledll also uses the stdcall calli...amples for Windows. Note that msvcrt is the MS standard C library containing most standard C functions, and uses the cdecl calling convention: >>> from ctypes import * >>> print ( windll . kernel32 ) <WinDLL 'kernel32', handle ... at ...> >>> print ( cd... - https://man.mtool.work/python/3.14/library/ctypes.html
- Object Life Cycle — Python 3.14.8 ドキュメント 7775
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...clear->tp_dealloc no refs tp_free tp_free tp_dealloc->tp_free direct call Explanation: When a new object is constructed by calling its type: tp_new is called to create a new object. tp_alloc is directly called by tp_new to allocate the memory for the ne...ed again to re-initialize an object, if desired. The tp_init call can also be skipped entirely, for example by Python code calling __new__() . After tp_init completes, the object is ready to use. Some time after the last reference to an object is remove...d: If an object is not marked as finalized , it might be finalized by marking it as finalized and calling its tp_finalize function. Python does not finalize an object when the last reference to it is deleted; use PyObject_CallFi... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Object Life Cycle — Python 3.14.8 ドキュメント 7347
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...clear->tp_dealloc no refs tp_free tp_free tp_dealloc->tp_free direct call Explanation: When a new object is constructed by calling its type: tp_new is called to create a new object. tp_alloc is directly called by tp_new to allocate the memory for the ne...ed again to re-initialize an object, if desired. The tp_init call can also be skipped entirely, for example by Python code calling __new__() . After tp_init completes, the object is ready to use. Some time after the last reference to an object is remove...d: If an object is not marked as finalized , it might be finalized by marking it as finalized and calling its tp_finalize function. Python does not finalize an object when the last reference to it is deleted; use PyObject_CallFi... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 6920
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...while the current thread performs blocking I/O. When the I/O operation is complete, the old thread state is reattached by calling PyEval_RestoreThread() , which will wait until the GIL can be acquired. 注釈 Performing blocking I/O is the most common us...as pthread_atfork() would need to be used to accomplish the same thing. Additionally, when extending or embedding Python, calling fork() directly rather than through os.fork() (and returning to or calling into Python) may result in a deadlock by one of.... The passed thread state should not be attached , otherwise deadlock ensues. tstate will be attached upon returning. 注釈 Calling this function from a thread when the runtime is finalizing will hang the thread until the program exits, even if the threa... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 6920
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...while the current thread performs blocking I/O. When the I/O operation is complete, the old thread state is reattached by calling PyEval_RestoreThread() , which will wait until the GIL can be acquired. 注釈 Performing blocking I/O is the most common us...as pthread_atfork() would need to be used to accomplish the same thing. Additionally, when extending or embedding Python, calling fork() directly rather than through os.fork() (and returning to or calling into Python) may result in a deadlock by one of.... The passed thread state should not be attached , otherwise deadlock ensues. tstate will be attached upon returning. 注釈 Calling this function from a thread when the runtime is finalizing will hang the thread until the program exits, even if the threa... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread-local storage support — Python 3.14.8 ドキュメント 6702
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread-local storage support テーマ 自動 ライト ダーク | Thread-local storage support ¶ The Python interpreter provides low-level
...s: use a thread key and functions to associate a void * value per thread. A thread state does not need to be attached when calling these functions; they supply their own locking. Python.h は TLS API の宣言を include せず、スレッドローカルストレージを使う...key ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Free the given key allocated by PyThread_tss_alloc() , after first calling PyThread_tss_delete() to ensure any associated thread locals have been unassigned. This is a no-op if the key argument is...to by the key argument is not initialized by Py_tss_NEEDS_INIT . This function can be called repeatedly on the same key -- calling it on an already initialized key is a no-op and immediately returns success. void PyThread_tss_delete ( Py_tss_t * key ) ¶... - https://man.mtool.work/python/3.14/c-api/tls.html
- Thread-local storage support — Python 3.14.8 ドキュメント 6702
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread-local storage support テーマ 自動 ライト ダーク | Thread-local storage support ¶ The Python interpreter provides low-level
...s: use a thread key and functions to associate a void * value per thread. A thread state does not need to be attached when calling these functions; they supply their own locking. Python.h は TLS API の宣言を include せず、スレッドローカルストレージを使う...key ) ¶ 次に属します: Stable ABI (バージョン 3.7 より). Free the given key allocated by PyThread_tss_alloc() , after first calling PyThread_tss_delete() to ensure any associated thread locals have been unassigned. This is a no-op if the key argument is...to by the key argument is not initialized by Py_tss_NEEDS_INIT . This function can be called repeatedly on the same key -- calling it on an already initialized key is a no-op and immediately returns success. void PyThread_tss_delete ( Py_tss_t * key ) ¶... - https://man.mtool.work/python/3.14/c-api/tls.html
- Pickle buffer objects — Python 3.14.8 ドキュメント 6592
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Pickle buffer objects テーマ 自動 ライト ダーク | Pickle buffer objects ¶ Added in ve
...er protocol . On success, return a new pickle buffer instance. On failure, set an exception and return NULL . Analogous to calling pickle.PickleBuffer with obj in Python. const Py_buffer * PyPickleBuffer_GetBuffer ( PyObject * picklebuf ) ¶ Get a pointe...nderlying buffer held by the pickle buffer. Return 0 on success. On failure, set an exception and return -1 . Analogous to calling pickle.PickleBuffer.release() in Python. 関連キーワード buffer pickle PyPickleBuffer PyObject return PickleBuffer instance...success failure exception picklebuf pointer wraps PyTypeObject Return Analogous calling underlying returned released Release Pickle objects Added providing 前のトピックへ memoryview オブジェクト 次のトピックへ... - https://man.mtool.work/python/3.14/c-api/picklebuffer.html