Results of 1 - 10 of about 77 for cycle (0.010 sec.)
- Object Life Cycle — Python 3.14.8 ドキュメント 14048
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...mentation for example code. If the object is a member of a cyclic isolate and either tp_clear fails to break the reference cycle or the cyclic isolate is not detected (perhaps gc.disable() was called, or the Py_TPFLAGS_HAVE_GC flag was erroneously omi...tside the cyclic isolate . The new reference causes the group of objects to no longer form a cyclic isolate (the reference cycle may still exist, but if it does the objects are no longer isolated). When the garbage collector discovers a cyclic isolate...es; it should vanish once all objects are cleared, if not sooner. A cyclic isolate can vanish either because the reference cycle is broken or because the objects are no longer isolated due to finalizer resurrection (see tp_finalize ). Reachable (not y... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Object Life Cycle — Python 3.14.8 ドキュメント 13275
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Object Life Cycle テーマ 自動 ライト ダーク | Object Life Cycle ¶ This
...mentation for example code. If the object is a member of a cyclic isolate and either tp_clear fails to break the reference cycle or the cyclic isolate is not detected (perhaps gc.disable() was called, or the Py_TPFLAGS_HAVE_GC flag was erroneously omi...tside the cyclic isolate . The new reference causes the group of objects to no longer form a cyclic isolate (the reference cycle may still exist, but if it does the objects are no longer isolated). When the garbage collector discovers a cyclic isolate...es; it should vanish once all objects are cleared, if not sooner. A cyclic isolate can vanish either because the reference cycle is broken or because the objects are no longer isolated due to finalizer resurrection (see tp_finalize ). Reachable (not y... - https://man.mtool.work/python/3.14/c-api/lifecycle.html
- Type Object Structures — Python 3.14.8 ドキュメント 9089
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...y be called from any Python thread, not just the thread which created the object (if the object becomes part of a refcount cycle, that cycle might be collected by a garbage collection on any thread). This is not a problem for Python API calls, since t...p_dealloc will not violate any assumptions of the library. 継承: サブタイプはこのフィールドを継承します。 参考 Object Life Cycle for details about how this slot relates to other slots. Py_ssize_t PyTypeObject . tp_vectorcall_offset ¶ An optional offse...nce's ob_type gets INCREF'ed or DECREF'ed). Heap types should also support garbage collection as they can form a reference cycle with their own module object. 継承: ??? Py_TPFLAGS_BASETYPE ¶ 次に属します: Stable ABI . 型を別の型の基底タイプとして使える... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Type Object Structures — Python 3.14.8 ドキュメント 9089
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu
...y be called from any Python thread, not just the thread which created the object (if the object becomes part of a refcount cycle, that cycle might be collected by a garbage collection on any thread). This is not a problem for Python API calls, since t...p_dealloc will not violate any assumptions of the library. 継承: サブタイプはこのフィールドを継承します。 参考 Object Life Cycle for details about how this slot relates to other slots. Py_ssize_t PyTypeObject . tp_vectorcall_offset ¶ An optional offse...nce's ob_type gets INCREF'ed or DECREF'ed). Heap types should also support garbage collection as they can form a reference cycle with their own module object. 継承: ??? Py_TPFLAGS_BASETYPE ¶ 次に属します: Stable ABI . 型を別の型の基底タイプとして使える... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- Command-line introspection tools — Python 3.14.8 ドキュメント 8785
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Command-line introspection tools テーマ 自動 ライト ダーク | Command-li
...cio/tasks.py:702 └── (T) Aqua Regia └── play example.py:4 └── sleep Lib/asyncio/tasks.py:702 If the await graph contains a cycle, pstree reports an error instead of printing a tree. A cycle in the await graph is unusual and typically indicates a progr...amming error: $ python -m asyncio pstree 12345 ERROR: await-graph contains cycles - cannot print a tree! cycle: Task-2 → Task-3 → Task-2 ps PID ¶ Display a flat table of all pending tasks in the process...aiting task's stack, name, and ID, if any. This subcommand prints all tasks regardless of whether the await graph contains cycles: $ python -m asyncio ps 12345 tid task id task name coroutine stack awaiter chain awaiter name awaiter id ---------------... - https://man.mtool.work/python/3.14/library/asyncio-tools.html
- itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 8785
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効
...DEF', [1,0,1,0,1,1]) → A C E F count() [start[, step]] start, start+step, start+2*step, ... count(10) → 10 11 12 13 14 ... cycle() p p0, p1, ... plast, p0, p1, ... cycle('ABCD') → A B C D A B C D ... dropwhile() predicate, seq seq[n], seq[n+1], starti...ep * i for i in count()) . バージョン 3.1 で変更: step 引数が追加され、非整数の引数が許されるようになりました。 itertools. cycle ( iterable ) ¶ Make an iterator returning elements from the iterable and saving a copy of each. When the iterable is exhau...sted , return elements from the saved copy. Repeats indefinitely. Roughly equivalent to: def cycle ( iterable ): # cycle('ABCD') → A B C D A B C D A B C D ... saved = [] for element in iterable : yield element saved . app... - https://man.mtool.work/python/3.14/library/itertools.html
- Command-line introspection tools — Python 3.14.8 ドキュメント 8785
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » asyncio --- 非同期 I/O » Command-line introspection tools テーマ 自動 ライト ダーク | Command-li
...cio/tasks.py:702 └── (T) Aqua Regia └── play example.py:4 └── sleep Lib/asyncio/tasks.py:702 If the await graph contains a cycle, pstree reports an error instead of printing a tree. A cycle in the await graph is unusual and typically indicates a progr...amming error: $ python -m asyncio pstree 12345 ERROR: await-graph contains cycles - cannot print a tree! cycle: Task-2 → Task-3 → Task-2 ps PID ¶ Display a flat table of all pending tasks in the process...aiting task's stack, name, and ID, if any. This subcommand prints all tasks regardless of whether the await graph contains cycles: $ python -m asyncio ps 12345 tid task id task name coroutine stack awaiter chain awaiter name awaiter id ---------------... - https://man.mtool.work/python/3.14/library/asyncio-tools.html
- itertools --- 効率的なループ用のイテレータ生成関数群 — Python 3.14.8 ドキュメン... 8785
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » itertools --- 効率的なループ用のイテレータ生成関数群 テーマ 自動 ライト ダーク | itertools --- 効
...DEF', [1,0,1,0,1,1]) → A C E F count() [start[, step]] start, start+step, start+2*step, ... count(10) → 10 11 12 13 14 ... cycle() p p0, p1, ... plast, p0, p1, ... cycle('ABCD') → A B C D A B C D ... dropwhile() predicate, seq seq[n], seq[n+1], starti...ep * i for i in count()) . バージョン 3.1 で変更: step 引数が追加され、非整数の引数が許されるようになりました。 itertools. cycle ( iterable ) ¶ Make an iterator returning elements from the iterable and saving a copy of each. When the iterable is exhau...sted , return elements from the saved copy. Repeats indefinitely. Roughly equivalent to: def cycle ( iterable ): # cycle('ABCD') → A B C D A B C D A B C D ... saved = [] for element in iterable : yield element saved . app... - https://man.mtool.work/python/3.14/library/itertools.html
- オブジェクト実装サポート (object implementation support) — Python 3.14.8 ドキュ... 8633
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) テーマ 自動 ライト ダーク | オブジェクト実装サポート (object implementat
...る際に使われる関数、型、およびマクロについて説明します。 Allocating objects on the heap Soft-deprecated aliases Object Life Cycle Life Events Cyclic Isolate Destruction 関数 共通のオブジェクト構造体 (common object structure) Base object types and macro...ject Types Garbage Collector State 実装 implementation support マクロ Allocating objects heap Soft deprecated aliases Life Cycle Life Events 前のトピックへ メモリ管理 次のトピックへ Allocating objects on the heap This page Report a bug Improve this pa... - https://man.mtool.work/python/3.14/c-api/objimpl.html
- graphlib --- グラフ構造を操作する機能 — Python 3.14.8 ドキュメント 8163
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » graphlib --- グラフ構造を操作する機能 テーマ 自動 ライト ダーク | graphlib --- グラフ構造を操作する機能 ¶ ソースコード:
...を呼び出した後にこのメソッドを呼び出すと、 ValueError を送出します。 prepare ( ) ¶ Mark the graph as finished and check for cycles in the graph. If any cycle is detected, CycleError will be raised, but get_ready() can still be used to obtain as many no...des as possible until cycles block more progress. After a call to this function, the graph cannot be modified, and therefore no more nodes can be adde...raised ValueError . is_active ( ) ¶ Returns True if more progress can be made and False otherwise. Progress can be made if cycles do not block the resolution and either there are still nodes ready that haven't yet been returned by TopologicalSorter.ge... - https://man.mtool.work/python/3.14/library/graphlib.html