Results of 1 - 10 of about 56 for alive (0.037 sec.)
- weakref --- Weak references — Python 3.14.8 ドキュメント 13820
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...name with each. If you used a Python dictionary to map names to images, or images to names, the image objects would remain alive just because they appeared as values or keys in the dictionaries. The WeakKeyDictionary and WeakValueDictionary classes su...pplied by the weakref module are an alternative, using weak references to construct mappings that don't keep objects alive solely because they appear in the mapping objects. If, for example, an image object is a value in a WeakValueDictionary ,...part of the interpreter shutdown when module globals are liable to have been replaced by None . __call__ ( ) ¶ If self is alive then mark it as dead and return the result of calling func(*args, **kwargs) . If self is dead then return None . detach (... - https://man.mtool.work/python/3.14/library/weakref.html
- weakref --- Weak references — Python 3.14.8 ドキュメント 13201
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » weakref --- Weak references テーマ 自動 ライト ダーク | weakref --- Weak references ¶ ソースコード: Lib/weakref.py The w
...name with each. If you used a Python dictionary to map names to images, or images to names, the image objects would remain alive just because they appeared as values or keys in the dictionaries. The WeakKeyDictionary and WeakValueDictionary classes su...pplied by the weakref module are an alternative, using weak references to construct mappings that don't keep objects alive solely because they appear in the mapping objects. If, for example, an image object is a value in a WeakValueDictionary ,...part of the interpreter shutdown when module globals are liable to have been replaced by None . __call__ ( ) ¶ If self is alive then mark it as dead and return the result of calling func(*args, **kwargs) . If self is dead then return None . detach (... - https://man.mtool.work/python/3.14/library/weakref.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 10888
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...f 引数が最初の位置引数として挿入されます。 以下はプログラム例です: >>> class Cell : ... def __init__ ( self ): ... self . _alive = False ... @property ... def alive ( self ): ... return self . _alive ... def set_state ( self , state ): ... self . _ali...ve = bool ( state ) ... set_alive = partialmethod ( set_state , True ) ... set_dead = partialmethod ( set_state , False ) ... >>> c = Cell () >>> c . alive...False >>> c . set_alive () >>> c . alive True Added in version 3.4. functools. reduce ( function , iterable , / [ , initial ] ) ¶ Apply function o... - https://man.mtool.work/python/3.14/library/functools.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 10888
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...f 引数が最初の位置引数として挿入されます。 以下はプログラム例です: >>> class Cell : ... def __init__ ( self ): ... self . _alive = False ... @property ... def alive ( self ): ... return self . _alive ... def set_state ( self , state ): ... self . _ali...ve = bool ( state ) ... set_alive = partialmethod ( set_state , True ) ... set_dead = partialmethod ( set_state , False ) ... >>> c = Cell () >>> c . alive...False >>> c . set_alive () >>> c . alive True Added in version 3.4. functools. reduce ( function , iterable , / [ , initial ] ) ¶ Apply function o... - https://man.mtool.work/python/3.14/library/functools.html
- Pickle buffer objects — Python 3.14.8 ドキュメント 8148
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Pickle buffer objects テーマ 自動 ライト ダーク | Pickle buffer objects ¶ Added in ve
...a pointer to the underlying Py_buffer that the pickle buffer wraps. The returned pointer is valid as long as picklebuf is alive and has not been released. The caller must not modify or free the returned Py_buffer . If the pickle buffer has been relea... - https://man.mtool.work/python/3.14/c-api/picklebuffer.html
- threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 8148
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード
...ません。 start() メソッド はそれぞれのスレッドの run() メソッドを起動します。 スレッドの活動が始まると、スレッドは '生存中 (alive)' とみなされます。 スレッドは、通常 run() メソッドが終了するまで、もしくは捕捉されない例外が送出されるまで生存中となります...。 is_alive() メソッドは、スレッドが生存中であるかどうか調べます。 スレッドは他のスレッドの join() メソッドを呼び出すことができます。こ...specifying a timeout for the operation in seconds (or fractions thereof). As join() always returns None , you must call is_alive() after join() to decide whether a timeout happened -- if the thread is still alive, the join() call timed out. timeout が... - https://man.mtool.work/python/3.14/library/threading.html
- Pickle buffer objects — Python 3.14.8 ドキュメント 8148
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Pickle buffer objects テーマ 自動 ライト ダーク | Pickle buffer objects ¶ Added in ve
...a pointer to the underlying Py_buffer that the pickle buffer wraps. The returned pointer is valid as long as picklebuf is alive and has not been released. The caller must not modify or free the returned Py_buffer . If the pickle buffer has been relea... - https://man.mtool.work/python/3.14/c-api/picklebuffer.html
- threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 8148
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード
...ません。 start() メソッド はそれぞれのスレッドの run() メソッドを起動します。 スレッドの活動が始まると、スレッドは '生存中 (alive)' とみなされます。 スレッドは、通常 run() メソッドが終了するまで、もしくは捕捉されない例外が送出されるまで生存中となります...。 is_alive() メソッドは、スレッドが生存中であるかどうか調べます。 スレッドは他のスレッドの join() メソッドを呼び出すことができます。こ...specifying a timeout for the operation in seconds (or fractions thereof). As join() always returns None , you must call is_alive() after join() to decide whether a timeout happened -- if the thread is still alive, the join() call timed out. timeout が... - https://man.mtool.work/python/3.14/library/threading.html
- multiprocessing --- プロセスベースの並列処理 — Python 3.14.8 ドキュメント 7735
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing --- プロセスベースの並列処理 テーマ 自動 ライト ダーク | multiprocessing --- プロセスベースの並列処理 ¶
...渡されない場合、 'Process-N 1 :N 2 :...:N k ' 形式の名前が構築されます。ここでそれぞれの N k はその親のN番目の子供です。 is_alive ( ) ¶ プロセスが実行中かを判別します。 おおまかに言って、プロセスオブジェクトは start() メソッドを呼び出してから子プロセス...とんどが ValueError を送出します。 Added in version 3.7. プロセスオブジェクトが作成したプロセスのみが start() , join() , is_alive() , terminate() と exitcode のメソッドを呼び出すべきです。 以下の例では Process のメソッドの使い方を示しています: >>> impo.... get_context ( 'spawn' ) >>> p = mp_context . Process ( target = time . sleep , args = ( 1000 ,)) >>> print ( p , p . is_alive ()) <...Process ... initial> False >>> p . start () >>> print ( p , p . is_alive ()) <...Process ... started> True >>> p .... - https://man.mtool.work/python/3.14/library/multiprocessing.html
- 変更履歴 — Python 3.14.8 ドキュメント 7735
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...context that carries the callback is no longer referenced by the application. Servers that keep their sni_callback context alive (the usual case when it wraps the listening socket or is stored on the server object) were not affected. This addresses CV...h createcommand was not explicitly removed before the interpreter was deleted. The command no longer keeps the interpreter alive through a reference cycle. gh-152246 : Fix the pure-Python zoneinfo parser accepting an invalid POSIX TZ transition rule w...n extracting hardlinks. (Contributed by Alexander Enrique Urieles Nieto in gh-75989 .) gh-137017 : Fix threading.Thread.is_alive to remain True until the underlying OS thread is fully cleaned up. This avoids false negatives in edge cases involving thr... - https://man.mtool.work/python/3.14/whatsnew/changelog.html