Results of 1 - 10 of about 11 for watcher (0.007 sec.)
- 型オブジェクト 11327
- 型オブジェクト type PyTypeObject 次に属します: Limited API (不透明な構造体として). 組み込み型を記述する際に用いられる、オブジェクトを表す C 構造体です。 PyTypeObject PyType_Type 次に属します: Stable ABI . 型オブジェクト自身の型オブジェクトで
...プに対して無効にします。この関数は type の属性や基底クラス列を変更したあとに手動で呼び出さなければなりません。 int PyType_AddWatcher ( PyType_WatchCallback callback ) callback を型ウォッチャーとして登録します。 ゼロ以上の整数 ID を返します。 以後 PyType_W...(例えば利用可能なウォッチャー ID が残っていない場合) は、例外を設定して -1 を返します。 フリースレッドビルドでは PyType_AddWatcher() はスレッドセーフではないため、起動時 (最初のスレッドを作成する前) に呼び出さなければなりません。 Added in version 3.12....int PyType_ClearWatcher ( int watcher_id ) watcher_id ( PyType_AddWatcher() が以前返した値) で指定したウォッチャーを解除します。 成功すると 0 、エ... - https://man.mtool.work/python/3.14/c-api/type.html
- Python 3.14 で削除予定 11327
- Python 3.14 で削除予定 argparse : argparse.BooleanOptionalAction の type 、 choices 、 metavar パラメータは非推奨となり、3.14 で削除されます。 (Nikita Sobolev が gh-92248 で貢献しました。) ast :以下の機能は Python 3.8 からドキュメントで非推
...使ってください。 (Serhiy Storchaka が gh-90953 で貢献しました。) asyncio : 子プロセスを監視するクラス asyncio.MultiLoopChildWatcher 、 asyncio.FastChildWatcher 、 asyncio.AbstractChildWatcher 、 asyncio.SafeChildWatcher は非推奨となり、Python 3.14 で削除...されます。 (Kumar Aditya が gh-94597 で貢献しました。) asyncio.set_child_watcher() 、 asyncio.get_child_watcher() 、 asyncio.AbstractEventLoopPolicy.set_child_watcher() 、 asyncio.AbstractEventLoopPolicy....get_child_watcher() は非推奨となり、Python 3.14 で削除されます。 (Kumar Aditya が gh-94597 で貢献しました。) デフォルトのイベントループポリシ... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.14.html
- Function オブジェクト 10544
- Function オブジェクト Functionオブジェクト固有の関数はわずかです。 type PyFunctionObject 関数に使われるCの構造体。 In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the functio
...数と同様ですが、型のチェックを行いません。 PyFunction_Type のインスタンス以外を渡すと、動作は未定義です。 int PyFunction_AddWatcher ( PyFunction_WatchCallback callback ) 現在のインタープリタの関数ウォッチャーとして callback を登録します。 PyFunction_Clea...rWatcher() に渡せる ID を返します。 エラーの場合 (例えば利用可能なウォッチャー ID がない場合) は、例外を設定して -1 を返します。 Ad...ded in version 3.12. int PyFunction_ClearWatcher ( int watcher_id ) 現在のインタープリタについて、 PyFunction_AddWatcher() が以前返した watcher_id で識別されるウォッチャー... - https://man.mtool.work/python/3.14/c-api/function.html
- コンテキスト変数オブジェクト 9957
- コンテキスト変数オブジェクト Added in version 3.7. バージョン 3.7.1 で変更: 注釈 Python 3.7.1 で全てのコンテキスト変数の C API のシグネチャは、 PyContext , PyContextVar , PyContextToken の代わりに PyObject ポインタを使うように 変更 されまし
...コンテキストを現在のスレッドの現在のコンテキストに復元します。 成功したら 0 を、失敗したら -1 を返します。 int PyContext_AddWatcher ( PyContext_WatchCallback callback ) callback を現在のインタープリタのコンテキストオブジェクトのウォッチャーとして登録しま...す。 PyContext_ClearWatcher() に渡せる ID を返します。 利用できるウォッチャー ID が残っていない場合など、エラーの場合は例外を設定して -1 を返します。...Added in version 3.14. int PyContext_ClearWatcher ( int watcher_id ) 現在のインタープリタについて、 PyContext_AddWatcher() が以前に返した watcher_id で識別されるウォッチャー... - https://man.mtool.work/python/3.14/c-api/contextvars.html
- Dictionary Objects 9566
- Dictionary Objects type PyDictObject この PyObject のサブタイプは Python の辞書オブジェクトを表現します。 PyTypeObject PyDict_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python の辞書を表現します。このオブジェクトは、
...だけをロックします。 seq2 の反復処理は同期されないため、別のスレッドが同時に seq2 を変更する可能性があります。 int PyDict_AddWatcher ( PyDict_WatchCallback callback ) Thread safety: Safe to call from multiple threads with external synchronization only . c...には -1 を返し、例外を設定します。 注釈 この関数は内部で同期を行いません。 フリースレッド ビルドでは、呼び出し側が PyDict_AddWatcher() や PyDict_ClearWatcher() の呼び出しが同時に行われないことを保証する必要があります。 Added in version 3.12. int PyDict_Cl...earWatcher ( int watcher_id ) Thread safety: Safe to call from multiple threads with external synchronization only . 以前に PyDict_Ad... - https://man.mtool.work/python/3.14/c-api/dict.html
- A Conceptual Overview of asyncio 9371
- A Conceptual Overview of asyncio この HOWTO では、 asyncio の基本的な仕組みをしっかり理解できるように説明します。 推奨される書き方がどのように動き、なぜ推奨されるのかを理解する助けになるでしょう。 asyncio の主要な概念について、疑問を持ってい
...s : float ): future = asyncio . Future () time_to_wake = time . time () + seconds # 監視タスクをイベントループに追加する。 watcher_task = asyncio . create_task ( _sleep_watcher ( future , time_to_wake )) # Future が完了するまで待機する。 await future 以...al, the event loop cycles through its tasks, giving them control and receiving control back when they pause or finish. The watcher_task , which runs the coroutine _sleep_watcher(...) , will be invoked once per full cycle of the event loop. On each resum...ugh has elapsed, then it'll pause once again and hand control back to the event loop. Once enough time has elapsed, _sleep_watcher(...) marks the future as done and completes by exiting its infinite while loop. Given this helper task is only invoked onc... - https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
- コードオブジェクト 8019
- コードオブジェクト コードオブジェクト(Code objects)は CPython 実装の低レベルな詳細部分です。各オブジェクトは関数に束縛されていない実行可能コードの塊を表現しています。 type PyCodeObject コードオブジェクトを表現するために利用されるC構造体。こ
...TupleObject への新しい参照を返します。 エラーの場合は例外を送出し、 NULL を返します。 Added in version 3.11. int PyCode_AddWatcher ( PyCode_WatchCallback callback ) 現在のインタープリタのコードオブジェクトウォッチャーとして callback を登録します。 PyCod...e_ClearWatcher() に渡せる ID を返します。 エラーの場合 (例えば利用可能なウォッチャー ID がない場合) は、例外を設定して -1 を返します。 Ad...ded in version 3.12. int PyCode_ClearWatcher ( int watcher_id ) 現在のインタープリタについて、 PyCode_AddWatcher() が以前返した watcher_id で識別されるウォッチャーを解... - https://man.mtool.work/python/3.14/c-api/code.html
- What's New In Python 3.12 7823
- What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ
...38 で貢献しました。) Linux で os.pidfd_open() が利用可能で正常に機能する場合、 asyncio はデフォルトで asyncio.ThreadedChildWatcher の代わりに asyncio.PidfdChildWatcher を使うようになりました。 (Kumar Aditya が gh-98024 で貢献しました。) イベントループが...、各プラットフォームで利用できる最適な子プロセスウォッチャー (対応していれば asyncio.PidfdChildWatcher 、そうでなければ asyncio.ThreadedChildWatcher ) を使うようになったため、子プロセスウォッチャーを手動で設定することは推奨さ...使ってください。 (Serhiy Storchaka が gh-90953 で貢献しました。) asyncio : 子プロセスを監視するクラス asyncio.MultiLoopChildWatcher 、 asyncio.FastChildWatcher 、 asyncio.AbstractChildWatcher 、 asyncio.SafeChildWatcher は非推奨となり、Python 3.14 で削除... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- What's New In Python 3.13 6845
- What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71
...使ってください。 (Serhiy Storchaka が gh-90953 で貢献しました。) asyncio : 子プロセスを監視するクラス asyncio.MultiLoopChildWatcher 、 asyncio.FastChildWatcher 、 asyncio.AbstractChildWatcher 、 asyncio.SafeChildWatcher は非推奨となり、Python 3.14 で削除...されます。 (Kumar Aditya が gh-94597 で貢献しました。) asyncio.set_child_watcher() 、 asyncio.get_child_watcher() 、 asyncio.AbstractEventLoopPolicy.set_child_watcher() 、 asyncio.AbstractEventLoopPolicy....get_child_watcher() は非推奨となり、Python 3.14 で削除されます。 (Kumar Aditya が gh-94597 で貢献しました。) デフォルトのイベントループポリシ... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- What's new in Python 3.14 6845
- What's new in Python 3.14 エディタ : Adam Turner と Hugo van Kemenade この記事では Python 3.13 と比較した Python 3.14 の新機能を解説します。Python 3.14 は2025年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP
...gh-119562 で貢献しました。) asyncio Python 3.12 から非推奨だった以下のクラス、メソッド、関数を削除しました。 AbstractChildWatcher FastChildWatcher MultiLoopChildWatcher PidfdChildWatcher SafeChildWatcher ThreadedChildWatcher AbstractEventLoopPolicy.get..._child_watcher() AbstractEventLoopPolicy.set_child_watcher() get_child_watcher() set_child_watcher() (Kumar Aditya が gh-120804 で貢献しま...775 で貢献しました。) Python 3.12 で非推奨になった PyDictObject.ma_version_tag メンバーを削除しました。 代わりに PyDict_AddWatcher() API を使ってください。 (Sam Gross が gh-124296 で貢献しました。) 非公開関数 _Py_InitializeMain() を削除しました。 これは... - https://man.mtool.work/python/3.14/whatsnew/3.14.html