Results of 1 - 5 of about 5 for PyCodeObject (0.002 sec.)
- コードオブジェクト 12814
- コードオブジェクト コードオブジェクト(Code objects)は CPython 実装の低レベルな詳細部分です。各オブジェクトは関数に束縛されていない実行可能コードの塊を表現しています。 type PyCodeObject コードオブジェクトを表現するために利用されるC構造体。こ
...PyObject * co ) co が コードオブジェクト の場合に真を返します。 この関数は常に成功します。 Py_ssize_t PyCode_GetNumFree ( PyCodeObject * co ) コードオブジェクト内の 自由変数 (クロージャ変数) の数を返します。 int PyUnstable_Code_GetFirstFree ( PyCodeObject *...部として PyCode_GetFirstFree から名前を変更しました。 古い名前は非推奨ですが、シグネチャが再び変更されるまでは利用できます。 PyCodeObject * PyUnstable_Code_New ( int argcount , int kwonlyargcount , int nlocals , int stacksize , int flags , PyObject * code , Py...PI の一部として PyCode_New から名前を変更しました。 古い名前は非推奨ですが、シグネチャが再び変更されるまでは利用できます。 PyCodeObject * PyUnstable_Code_NewWithPosOnlyArgs ( int argcount , int posonlyargcount , int kwonlyargcount , int nlocals , int stacksi... - https://man.mtool.work/python/3.14/c-api/code.html
- フレーム (frame) オブジェクト 8622
- フレーム (frame) オブジェクト type PyFrameObject 次に属します: Limited API (不透明な構造体として). フレームオブジェクトを記述する際に用いられる、オブジェクトを表す C 構造体です。 この構造体には公開メンバはありません。 バージョン 3.11 で変更
...この型を使うには <frameobject.h> をインクルードする必要がありました。 PyFrameObject * PyFrame_New ( PyThreadState * tstate , PyCodeObject * code , PyObject * globals , PyObject * locals ) 新しいフレームオブジェクトを作成します。 成功した場合は新しいフレームオブ...照。 frame の f_builtins 属性を取得します。 強参照 を返します。 結果が NULL になることはありません。 Added in version 3.11. PyCodeObject * PyFrame_GetCode ( PyFrameObject * frame ) 戻り値: 新しい参照。 次に属します: Stable ABI (バージョン 3.10 より). frame の... - https://man.mtool.work/python/3.14/c-api/frame.html
- ジェネレータオブジェクト 8383
- ジェネレータオブジェクト ジェネレータオブジェクトは、 Python がジェネレータイテレータを実装するのに使っているオブジェクトです。ジェネレータオブジェクトは通常、 PyGen_New() や PyGen_NewWithQualName() の明示的な呼び出しではなく、値を yield す
...me に設定して返します。 この関数は、エラー時も含めて frame への参照を 盗みます 。 frame 引数は NULL であってはなりません。 PyCodeObject * PyGen_GetCode ( PyGenObject * gen ) gen がラップするコードオブジェクトへの新しい 強参照 を返します。 この関数は常に成功し... - https://man.mtool.work/python/3.14/c-api/gen.html
- perf map のサポート 8273
- perf map のサポート On supported platforms (as of this writing, only Linux), the runtime can take advantage of perf map files to make Python functions visible to an external profiling tool (such as perf ). A running process may create a fil
...ently only Linux). On other platforms, it does nothing. Added in version 3.13. int PyUnstable_PerfTrampoline_CompileCode ( PyCodeObject * code ) これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 現在の perf トランポリンを使って、... - https://man.mtool.work/python/3.14/c-api/perfmaps.html
- What's New In Python 3.11 7813
- What's New In Python 3.11 編集者 : Pablo Galindo Salgado この記事では Python 3.10 と比較した Python 3.11 の新機能を解説します。Python 3.11 は2022年10月24日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイ
...のコードオブジェクトを得るには、コンパイラでコードオブジェクトを作成し、 replace メソッドで変更したものを取得してください。 PyCodeObject から co_code 、 co_varnames 、 co_cellvars 、 co_freevars フィールドが削除されました。 C API でこれらにアクセスするには、そ...ようになりました。 Python 3.8 以前で PyFrame_GetCode() を定義するコードです。 #if PY_VERSION_HEX < 0x030900B1 static inline PyCodeObject * PyFrame_GetCode ( PyFrameObject * frame ) { Py_INCREF ( frame -> f_code ); return frame -> f_code ; } #endif Python 3.8... - https://man.mtool.work/python/3.14/whatsnew/3.11.html
PREV
1
NEXT