per page, with , order by , clip by
Results of 1 - 10 of about 71 for Event (0.003 sec.)
モニタリング C API 13156
モニタリング C API バージョン 3.13 で追加。 拡張モジュールがイベントモニタリングシステムと連携する必要がある場合があります。 イベントの購読やコールバックの登録は、 sys.monitoring が公開する Python API で行えます。 実行イベントの発生 以下の関 ... ラーの場合は例外を設定して -1 を返します。 イベントの説明は sys.monitoring を参照してください。 int PyMonitoring_FirePyStartEvent ( PyMonitoringState * state , PyObject * codelike , int32_t offset ) PY_START イベントを発生させます。 int PyMonitoring_Fi ... rePyResumeEvent ( PyMonitoringState * state , PyObject * codelike , int32_t offset ) PY_RESUME イベントを発生させます。 int PyMonitoring_F ... irePyReturnEvent ( PyMonitoringState * state , PyObject * codelike , int32_t offset , PyObject * retval ) PY_RETURN イベントを発生させます。 ...
https://man.mtool.work/python/3.14/c-api/monitoring.html
tkinter.dnd --- ドラッグアンドドロップのサポート 11877
tkinter.dnd --- ドラッグアンドドロップのサポート ソースコード: Lib/tkinter/dnd.py 注釈 これは実験的な機能で、Tk DND に置き換えられた時点で非推奨になる予定です。 tkinter.dnd モジュールは、単一のアプリケーション内で、同じウィンドウ内またはウィ ... す ( バインディングとイベント を参照)。 この関数から dnd_start() を呼び出してください。 source はドラッグするオブジェクト、 event は呼び出しを引き起こしたイベント (コールバック関数の引数) です。 対象オブジェクトは次のように選択されます: マウスの下の領域 ... トへ検索を進めます。 対象ウィジェットが見つからなければ、対象オブジェクトは None になります。 <old_target>.dnd_leave(source, event) を呼び出します。 <new_target>.dnd_enter(source, event) を呼び出します。 <target>.dnd_commit(source, event) を呼び出して、 ... ドロップを通知します。 <source>.dnd_end(target, event) を呼び出して、ドラッグアンドドロップの終了を通知します。 class tkinter.dnd. DndHandler ( source , event ) The DndHandler ...
https://man.mtool.work/python/3.14/library/tkinter.dnd.html
ポリシー 11301
ポリシー 警告 ポリシーは非推奨で、Python 3.16 で削除されます。 使いたいイベントループの実装を選ぶには、 asyncio.run() 関数、または asyncio.Runner に loop_factory を指定する方法を推奨します。 イベントループポリシーは、現在の イベントループ の ... ではスレッドごとですが、カスタムポリシーでは コンテキスト を別の単位で定義できます。 カスタムイベントループポリシーは、 get_event_loop() 、 set_event_loop() 、 new_event_loop() の動作を制御できます。 ポリシーオブジェクトは AbstractEventLoopPolicy 抽象基 ... なりません。 ポリシーの取得と設定 以下の関数は現在のプロセスに対するポリシーの取得や設定をするために使われます: asyncio. get_event_loop_policy ( ) プロセス全体にわたる現在のポリシーを返します。 バージョン 3.14 で非推奨: get_event_loop_policy() 関数は非推 ... 奨で、Python 3.16 で削除されます。 asyncio. set_event_loop_policy ( policy ) プロセス全体にわたる現在のポリシーを policy に設定します。 policy が None の場合、デフォルトポリシー ...
https://man.mtool.work/python/3.14/library/asyncio-policy.html
A Conceptual Overview of asyncio 10556
A Conceptual Overview of asyncio この HOWTO では、 asyncio の基本的な仕組みをしっかり理解できるように説明します。 推奨される書き方がどのように動き、なぜ推奨されるのかを理解する助けになるでしょう。 asyncio の主要な概念について、疑問を持ってい ... ncio の主要な高水準の構成要素であるイベントループ、コルーチン関数、コルーチンオブジェクト、タスク、 await を取り上げます。 Event Loop Everything in asyncio happens relative to the event loop. It's the star of the show. It's like an orchestra conductor ... of its ability to get things done comes from the respect and cooperation of its worker bees. In more technical terms, the event loop contains a collection of jobs to be run. Some jobs are added directly by you, and some indirectly by asyncio . The ev ... t control"), similar to calling a function, and then that job runs. Once it pauses or completes, it returns control to the event loop. The event loop will then select another job from its pool and invoke it. You can roughly think of the collection of ...
https://man.mtool.work/python/3.14/howto/a-conceptual-overview-of-asyncio.html
Function オブジェクト 9811
Function オブジェクト Functionオブジェクト固有の関数はわずかです。 type PyFunctionObject 関数に使われるCの構造体。 In the free-threaded build, direct access to mutable fields requires synchronization if another thread may modify the functio ... ば指定した watcher_id が登録されていない場合) は、例外を設定して -1 を返します。 Added in version 3.12. type PyFunction_WatchEvent 関数ウォッチャーで発生し得るイベントの列挙型。 PyFunction_EVENT_CREATE PyFunction_EVENT_DESTROY PyFunction_EVENT_MODIFY_CO ... DE PyFunction_EVENT_MODIFY_DEFAULTS PyFunction_EVENT_MODIFY_KWDEFAULTS Added in version 3.12. PY_FOREACH_FUNC_EVENT ( V ) Apply the macro V to ... each suffix of PyFunction_WatchEvent constants. Currently expands to V(CREATE) V(DESTROY) V(MODIFY_CODE) V(MODIFY_DEFAULTS) V(MODIFY_KWDEFAULTS) V(MODIFY_QUALN ...
https://man.mtool.work/python/3.14/c-api/function.html
Dictionary Objects 9234
Dictionary Objects type PyDictObject この PyObject のサブタイプは Python の辞書オブジェクトを表現します。 PyTypeObject PyDict_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python の辞書を表現します。このオブジェクトは、 ... ッチャーに監視されている必要があります。 成功すると 0 、エラー時には -1 を返します。 Added in version 3.12. type PyDict_WatchEvent 辞書ウォッチャーで発生し得るイベントを表す列挙型です: PyDict_EVENT_ADDED 、 PyDict_EVENT_MODIFIED 、 PyDict_EVENT_DELETED ... 、 PyDict_EVENT_CLONED 、 PyDict_EVENT_CLEARED 、 PyDict_EVENT_DEALLOCATED 。 Added in version 3.12. PY_FOREACH_DICT_EVENT ( V ) Apply the ... macro V to each suffix of PyDict_WatchEvent constants. Currently expands to V(ADDED) V(MODIFIED) V(DELETED) V(CLONED) V(CLEARED) V(DEALLOCATED) . The macro V must acc ...
https://man.mtool.work/python/3.14/c-api/dict.html
プロファイリングとトレース 8644
プロファイリングとトレース Python インタプリタは、プロファイル: 分析 (profile) や実行のトレース: 追跡 (trace) といった機能を組み込むために低水準のサポートを提供しています。このサポートは、プロファイルやデバッグ、適用範囲分析 (coverage analy ... っていません; インターフェースではトレース関数をスレッドごとにインストールでき、トレース関数に報告される基本イベント (basic event) は以前のバージョンにおいて Python レベルのトレース関数で報告されていたものと同じです。 typedef int ( * Py_tracefunc ) ( P ... を無視します。 Added in version 3.12. 参照のトレース Added in version 3.13. typedef int ( * PyRefTracer ) ( PyObject * , int event , void * data ) PyRefTracer_SetTracer() で登録するトレース関数の型です。 第 1 引数は、作成されたばかりの Python オブジェク ... ト ( event が PyRefTracer_CREATE の場合)、またはこれから破棄されるオブジェクト ( event が PyRefTracer_DESTROY の場合) です。 data 引数 ...
https://man.mtool.work/python/3.14/c-api/profiling.html
同期プリミティブ 8546
同期プリミティブ ソースコード: Lib/asyncio/locks.py asyncio の同期プリミティブは threading モジュールのそれと類似するようにデザインされていますが、2つの重要な注意事項があります: asyncio の同期プリミティブはスレッドセーフではありません。従っ ... 行するには asyncio.wait_for() 関数を使ってください。 asyncio モジュールは以下の基本的な同期プリミティブを持っています: Lock Event Condition Semaphore BoundedSemaphore Barrier Lock class asyncio. Lock asyncio タスクのためのミューテックスロックを実装して ... ターンします。 ロックが 解除状態 の場合、 RuntimeError 例外が送出されます。 locked ( ) ロック状態 の場合に True を返します。 Event class asyncio. Event イベントオブジェクトです。スレッドセーフではありません。 asyncio イベントは、複数の asyncio タスクに対 ... して何らかのイベントが発生したことを通知するために使うことができます。 Event オブジェクトは内部フラグを管理します。フラグの値は set() メソッドにより true に、また clear() メソッドにより false に設定す ...
https://man.mtool.work/python/3.14/library/asyncio-sync.html
Tkinter のダイアログ 8546
Tkinter のダイアログ tkinter.simpledialog --- Tkinter の標準入力ダイアログ ソースコード: Lib/tkinter/simpledialog.py tkinter.simpledialog モジュールには、ユーザーから値を受け取るための単純なモーダルダイアログを作る便利なクラスと関数がありま ... class tkinter.filedialog. FileDialog ( master , title = None ) 基本的なファイル選択ダイアログを作ります。 cancel_command ( event = None ) ダイアログウィンドウの終了を開始します。 dirs_double_event ( event ) ディレクトリのダブルクリックイベントのハンド ... ラー。 dirs_select_event ( event ) ディレクトリのクリックイベントのハンドラー。 files_double_event ( event ) ファイルのダブルクリックイベントのハン ... ドラー。 files_select_event ( event ) ファイルのシングルクリックイベントのハンドラー。 filter_command ( event = None ) ディレクトリでファイルを絞り込み ...
https://man.mtool.work/python/3.14/library/dialog.html
sys.monitoring --- 実行イベントモニタリング 8222
sys.monitoring --- 実行イベントモニタリング Added in version 3.12. 注釈 sys.monitoring は sys モジュール内の名前空間で、独立したモジュールではありません。 import sys.monitoring は ModuleNotFoundError で失敗します。 代わりに import sys を実行 ... monitoring . PROFILER_ID = 2 sys . monitoring . OPTIMIZER_ID = 5 イベント 次のイベントをサポートしています: sys.monitoring.events. BRANCH_LEFT 条件分岐が左に進む。 「左」と「右」の分岐をどのように示すかはツールに任されています。 どちらの分岐が「左」で ... 、どちらが「右」になるかは保証されませんが、プログラムの実行中に対応が変わることはありません。 sys.monitoring.events. BRANCH_RIGHT 条件分岐が右に進む。 sys.monitoring.events. CALL Python コードでの呼び出し (イベントは呼び出しの前に発生)。 ... sys.monitoring.events. C_RAISE Python 関数以外の呼び出し可能オブジェクトからの例外の送出 (イベントは呼び出しの終了後に発生)。 sys.monitoring.ev ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
PREV 1 2 3 4 5 6 7 8 NEXT