per page, with , order by , clip by
Results of 1 - 10 of about 14 for instruction (0.005 sec.)
sys.monitoring --- 実行イベントモニタリング 14634
sys.monitoring --- 実行イベントモニタリング Added in version 3.12. 注釈 sys.monitoring は sys モジュール内の名前空間で、独立したモジュールではありません。 import sys.monitoring は ModuleNotFoundError で失敗します。 代わりに import sys を実行 ... のリターン (イベントはリターン後に発生)。 sys.monitoring.events. EXCEPTION_HANDLED 例外が処理される。 sys.monitoring.events. INSTRUCTION VM 命令が実行されようとしている。 sys.monitoring.events. JUMP 制御フローグラフで無条件ジャンプが行われる。 sys.monitoring. ... defined locations. All local events can be disabled. The local events are: PY_START PY_RESUME PY_RETURN PY_YIELD CALL LINE INSTRUCTION JUMP BRANCH_LEFT BRANCH_RIGHT STOP_ITERATION 非推奨のイベント BRANCH BRANCH イベントは 3.14 で非推奨になりました。 BRANCH_ ... ません。 イベントによってコールバック関数に渡す引数が次のように異なります: PY_START と PY_RESUME 。 func ( code : CodeType , instruction_offset : int ) -> object PY_RETURN と PY_YIELD 。 func ( code : CodeType , instruction_offset : int , retval : object ) -> ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
モニタリング C API 9575
モニタリング C API バージョン 3.13 で追加。 拡張モジュールがイベントモニタリングシステムと連携する必要がある場合があります。 イベントの購読やコールバックの登録は、 sys.monitoring が公開する Python API で行えます。 実行イベントの発生 以下の関 ... C_RAISE PY_MONITORING_EVENT_C_RETURN C_RETURN PY_MONITORING_EVENT_EXCEPTION_HANDLED EXCEPTION_HANDLED PY_MONITORING_EVENT_INSTRUCTION INSTRUCTION PY_MONITORING_EVENT_JUMP JUMP PY_MONITORING_EVENT_LINE LINE PY_MONITORING_EVENT_PY_RESUME PY_RESUME PY_MONITOR ...
https://man.mtool.work/python/3.14/c-api/monitoring.html
dis --- Python バイトコードの逆アセンブラー 9575
dis --- Python バイトコードの逆アセンブラー ソースコード: Lib/dis.py dis モジュールは、CPython の bytecode を逆アセンブルして解析するためのものです。 このモジュールが入力として受け取る CPython のバイトコードは Include/opcode.h で定義され、コ ... るバイトコードを解析します。 これは、下で並べられている関数の多くのものをまとめた便利なラッパーです。 とりわけ目立つのは get_instructions() で、 Bytecode インスタンスに対し反復処理をしながら、バイトコード命令を Instruction インスタンスとして返します。 first_l ... クションのオフセット位置を示します。 これを設定すると、 dis() の出力において、指定された命令コード (opcode) に "現在の命令 (instruction)" を表す印が表示されます。 show_caches が True なら、 dis() はインタープリタがバイトコードの特殊化に使うインラインキャッシ ... 変更: show_offsets パラメーターを追加しました。 バージョン 3.14 で変更: show_positions パラメーターを追加しました。 dis. get_instructions ( x , * , first_line = None , show_caches = False , adaptive = False ) 渡された関数、メソッド、ソースコード文字列、コード ...
https://man.mtool.work/python/3.14/library/dis.html
Curses C API 8945
Curses C API curses は拡張モジュール向けに小さな C インターフェースを公開しています。 利用する側は py_curses.h ヘッダをインクルードする必要があります (このヘッダは Python.h にはデフォルトで含まれません)。 また、通常はモジュールの初期化関数内 ... ux JM curs_window(3) PHP filters.compression DuckDB Boolean Type Linux JM feature_test_macros(7) PHP language.basic-syntax.instruction-separation DuckDB WINDOW Clause ...
https://man.mtool.work/python/3.14/c-api/curses.html
xml.dom.pulldom --- 部分的な DOM ツリー構築のサポート 8524
xml.dom.pulldom --- 部分的な DOM ツリー構築のサポート Source code: Lib/xml/dom/pulldom.py xml.dom.pulldom モジュールは「プルパーザ」を提供し、必要に応じて、文書の一部分を DOM でアクセスできる形で生成するよう要求できます。 基本的な考え方は、 ... node は Text ノードです。 xml.dom.pulldom. COMMENT コメントです。 node は Comment ノードです。 xml.dom.pulldom. PROCESSING_INSTRUCTION 処理命令です。 node は ProcessingInstruction ノードです。 文書を「平坦な」イベントの流れとして扱うため、文書の「木」は暗黙 ...
https://man.mtool.work/python/3.14/library/xml.dom.pulldom.html
xml.dom --- ドキュメントオブジェクトモデル API 8314
xml.dom --- ドキュメントオブジェクトモデル API ソースコード: Lib/xml/dom/__init__.py 文書オブジェクトモデル (Document Object Model)、すなわち "DOM" は、ワールドワイドウェブコンソーシアム (World Wide Web Consortium, W3C) による、XML ドキュメ ... のコメント表現。 Text Text オブジェクトおよび CDATASection オブジェクト ドキュメント内のテキスト記述を含むノード。 ProcessingInstruction ProcessingInstruction オブジェクト 処理命令 (processing instruction) 表現。 さらに追加の節として、Python で DOM を利用する ... ードだけで、子ノードの型も表に挙げたものに限られます。 Document 高々 1 個の Element 、高々 1 個の DocumentType 、 ProcessingInstruction 、 Comment DocumentFragment と Element Element 、 Text 、 CDATASection 、 ProcessingInstruction 、 Comment Attr Text その他 ... de. ATTRIBUTE_NODE Node. TEXT_NODE Node. CDATA_SECTION_NODE Node. ENTITY_REFERENCE_NODE Node. ENTITY_NODE Node. PROCESSING_INSTRUCTION_NODE Node. COMMENT_NODE Node. DOCUMENT_NODE Node. DOCUMENT_TYPE_NODE Node. DOCUMENT_FRAGMENT_NODE Node. NOTATION_NODE node ...
https://man.mtool.work/python/3.14/library/xml.dom.html
コードオブジェクト 8104
コードオブジェクト コードオブジェクト(Code objects)は CPython 実装の低レベルな詳細部分です。各オブジェクトは関数に束縛されていない実行可能コードの塊を表現しています。 type PyCodeObject コードオブジェクトを表現するために利用されるC構造体。こ ... 行すると Exception を送出します。 int PyCode_Addr2Line ( PyCodeObject * co , int byte_offset ) Return the line number of the instruction that occurs on or before byte_offset and ends after it. This may be O(N) in the number of instructions in the code object, ...
https://man.mtool.work/python/3.14/c-api/code.html
The Python Profilers 8104
The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how ... s code is executing). In contrast, statistical profiling (which is not done by this module) randomly samples the effective instruction pointer, and deduces where time is being spent. The latter technique traditionally involves less overhead (as the code doe ...
https://man.mtool.work/python/3.14/library/profile.html
xml.dom.minidom --- 最小限の DOM の実装 8104
xml.dom.minidom --- 最小限の DOM の実装 ソースコード: Lib/xml/dom/minidom.py xml.dom.minidom は Document Object Model インターフェースの最小限の実装で、他の言語の実装と同様の API を備えています。 完全な DOM より単純で、大幅に小さい実装を目指 ... d to have the IDL null value by the DOM specification from the W3C. const 宣言を行うと、 ( xml.dom.minidom.Node.PROCESSING_INSTRUCTION_NODE のように) 対応するスコープ内の変数に対応付けを行います; これらは変更してはなりません。 DOMException is currently not ...
https://man.mtool.work/python/3.14/library/xml.dom.minidom.html
What's New In Python 3.4 7877
What's New In Python 3.4 著者 : R. David Murray < rdmurray @ bitdance . com > (編集者) この記事では 3.3 と比較した Python 3.4 の新機能を解説します。 Python 3.4 は2014年3月16日にリリースされました。全詳細については 変更履歴 をご覧ください。 ... istb() , disassemble() が新たにキーワード専用引数 file を受け取ります。これは出力先を制御します。 dis モジュールはいまでは Instruction クラスを中心に据えて構築されています。これは個々のバイトコード操作の詳細に対し、オブジェクト指向的なアクセスを提供するクラ ... スです。 新規メソッド get_instructions() が、与えた Python コード片についての命令 (インストラクション) ストリームを発行するイテレータを提供します。これを使えば、 ... を調べたり加工するようなプログラムを書くことが出来ます。例えばこのように書けます: >>> import dis >>> for instr in dis . get_instructions ( lambda x : x + 1 ): ... print ( instr . opname ) LOAD_FAST LOAD_CONST BINARY_ADD RETURN_VALUE dis モジュールにある色々な ...
https://man.mtool.work/python/3.14/whatsnew/3.4.html
PREV 1 2 NEXT