Results of 1 - 10 of about 57 for PyEval (0.003 sec.)
- リフレクション — Python 3.14.8 ドキュメント 11865
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » リフレクション テーマ 自動 ライト ダーク | リフレクション ¶ PyObject * PyEval_GetBuiltins ( void ) ¶ 戻り値: 借用
...参照。 次に属します: Stable ABI . バージョン 3.13 で非推奨: Use PyEval_GetFrameBuiltins() instead. 現在の実行フレーム内のビルトインの辞書か、もし実行中のフレームがなければスレッド状態のインタプ...リタのビルトイン辞書を返します。 PyObject * PyEval_GetLocals ( void ) ¶ 戻り値: 借用参照。 次に属します: Stable ABI . バージョン 3.13 で非推奨: Use either PyEval_GetFrameLoc...als() to obtain the same behaviour as calling locals() in Python code, or else call PyFrame_GetLocals() on the result of PyEval_GetFrame() to access the f_locals attribute of the currently executing frame. Return a mapping providing access to the loc... - https://man.mtool.work/python/3.14/c-api/reflection.html
- リフレクション — Python 3.14.8 ドキュメント 11865
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » ユーティリティ » リフレクション テーマ 自動 ライト ダーク | リフレクション ¶ PyObject * PyEval_GetBuiltins ( void ) ¶ 戻り値: 借用
...参照。 次に属します: Stable ABI . バージョン 3.13 で非推奨: Use PyEval_GetFrameBuiltins() instead. 現在の実行フレーム内のビルトインの辞書か、もし実行中のフレームがなければスレッド状態のインタプ...リタのビルトイン辞書を返します。 PyObject * PyEval_GetLocals ( void ) ¶ 戻り値: 借用参照。 次に属します: Stable ABI . バージョン 3.13 で非推奨: Use either PyEval_GetFrameLoc...als() to obtain the same behaviour as calling locals() in Python code, or else call PyFrame_GetLocals() on the result of PyEval_GetFrame() to access the f_locals attribute of the currently executing frame. Return a mapping providing access to the loc... - https://man.mtool.work/python/3.14/c-api/reflection.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 10764
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin
...p.0 | | | |--56.13%--_PyRun_AnyFileObject | | _PyRun_SimpleFileObject | | | | | |--55.02%--run_mod | | | | | | | --54.65%--PyEval_EvalCode | | | _PyEval_EvalFrameDefault | | | PyObject_Vectorcall | | | _PyEval_Vector | | | _PyEval_EvalFrameDefault | |...| PyObject_Vectorcall | | | _PyEval_Vector | | | _PyEval_EvalFrameDefault | | | PyObject_Vectorcall | | | _PyEval_Vector | | | | | | | |--51.67%--_PyEval_Eval...| | | | | | | | | | |--2.97%--_PyObject_Malloc ... As you can see, the Python functions are not shown in the output, only _PyEval_EvalFrameDefault (the function that evaluates the Python bytecode) shows up. Unfortunately that's not very useful because... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 10764
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin
...p.0 | | | |--56.13%--_PyRun_AnyFileObject | | _PyRun_SimpleFileObject | | | | | |--55.02%--run_mod | | | | | | | --54.65%--PyEval_EvalCode | | | _PyEval_EvalFrameDefault | | | PyObject_Vectorcall | | | _PyEval_Vector | | | _PyEval_EvalFrameDefault | |...| PyObject_Vectorcall | | | _PyEval_Vector | | | _PyEval_EvalFrameDefault | | | PyObject_Vectorcall | | | _PyEval_Vector | | | | | | | |--51.67%--_PyEval_Eval...| | | | | | | | | | |--2.97%--_PyObject_Malloc ... As you can see, the Python functions are not shown in the output, only _PyEval_EvalFrameDefault (the function that evaluates the Python bytecode) shows up. Unfortunately that's not very useful because... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- Profiling and tracing — Python 3.14.8 ドキュメント 9604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Profiling and tracing テーマ 自動 ライト ダーク | Profiling and tracing ¶ Python インタプリタは、プロファイル: 分析 (profile) や実
...) ( PyObject * obj , PyFrameObject * frame , int what , PyObject * arg ) ¶ The type of the trace function registered using PyEval_SetProfile() and PyEval_SetTrace() . The first parameter is the object passed to the registration function as obj , frame.... This event is not emitted by default: it must be explicitly requested by setting f_trace_opcodes to 1 on the frame. void PyEval_SetProfile ( Py_tracefunc func , PyObject * obj ) ¶ Set the profiler function to func . The obj parameter is passed to the...ODE and PyTrace_EXCEPTION . sys.setprofile() 関数も参照してください。 The caller must have an attached thread state . void PyEval_SetProfileAllThreads ( Py_tracefunc func , PyObject * obj ) ¶ Like PyEval_SetProfile() but sets the profile function in al... - https://man.mtool.work/python/3.14/c-api/profiling.html
- Profiling and tracing — Python 3.14.8 ドキュメント 9604
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Profiling and tracing テーマ 自動 ライト ダーク | Profiling and tracing ¶ Python インタプリタは、プロファイル: 分析 (profile) や実
...) ( PyObject * obj , PyFrameObject * frame , int what , PyObject * arg ) ¶ The type of the trace function registered using PyEval_SetProfile() and PyEval_SetTrace() . The first parameter is the object passed to the registration function as obj , frame.... This event is not emitted by default: it must be explicitly requested by setting f_trace_opcodes to 1 on the frame. void PyEval_SetProfile ( Py_tracefunc func , PyObject * obj ) ¶ Set the profiler function to func . The obj parameter is passed to the...ODE and PyTrace_EXCEPTION . sys.setprofile() 関数も参照してください。 The caller must have an attached thread state . void PyEval_SetProfileAllThreads ( Py_tracefunc func , PyObject * obj ) ¶ Like PyEval_SetProfile() but sets the profile function in al... - https://man.mtool.work/python/3.14/c-api/profiling.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 9398
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless
...します; Py_END_ALLOW_THREADS はブロックを閉じます。 上のブロックは次のコードに展開されます: PyThreadState * _save ; _save = PyEval_SaveThread (); ... Do some blocking I / O operation ... PyEval_RestoreThread ( _save ); Here is how these functions work:...The attached thread state implies that the GIL is held for the interpreter. To detach it, PyEval_SaveThread() is called and the result is stored in a local variable. By detaching the thread state, the GIL is released, w...he current thread performs blocking I/O. When the I/O operation is complete, the old thread state is reattached by calling PyEval_RestoreThread() , which will wait until the GIL can be acquired. 注釈 Performing blocking I/O is the most common use case... - https://man.mtool.work/python/3.14/c-api/threads.html
- Thread states and the global interpreter lock — Python 3.14.8 ドキュメント 9398
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Thread states and the global interpreter lock テーマ 自動 ライト ダーク | Thread states and the global interpreter lock ¶ Unless
...します; Py_END_ALLOW_THREADS はブロックを閉じます。 上のブロックは次のコードに展開されます: PyThreadState * _save ; _save = PyEval_SaveThread (); ... Do some blocking I / O operation ... PyEval_RestoreThread ( _save ); Here is how these functions work:...The attached thread state implies that the GIL is held for the interpreter. To detach it, PyEval_SaveThread() is called and the result is stored in a local variable. By detaching the thread state, the GIL is released, w...he current thread performs blocking I/O. When the I/O operation is complete, the old thread state is reattached by calling PyEval_RestoreThread() , which will wait until the GIL can be acquired. 注釈 Performing blocking I/O is the most common use case... - https://man.mtool.work/python/3.14/c-api/threads.html
- C API Stability — Python 3.14.8 ドキュメント 9104
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...r_SyntaxLocation() PyErr_SyntaxLocationEx() PyErr_WarnEx() PyErr_WarnExplicit() PyErr_WarnFormat() PyErr_WriteUnraisable() PyEval_AcquireThread() PyEval_EvalCode() PyEval_EvalCodeEx() PyEval_EvalFrame() PyEval_EvalFrameEx() PyEval_GetBuiltins() PyEval_...GetFrame() PyEval_GetFrameBuiltins() PyEval_GetFrameGlobals() PyEval_GetFrameLocals() PyEval_GetFuncDesc() PyEval_GetFuncName() PyEval_GetGl...obals() PyEval_GetLocals() PyEval_InitThreads() PyEval_ReleaseThread() PyEval_RestoreThread() PyEval_SaveThread() PyExc_ArithmeticError P... - https://man.mtool.work/python/3.14/c-api/stable.html
- C API Stability — Python 3.14.8 ドキュメント 9104
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw
...r_SyntaxLocation() PyErr_SyntaxLocationEx() PyErr_WarnEx() PyErr_WarnExplicit() PyErr_WarnFormat() PyErr_WriteUnraisable() PyEval_AcquireThread() PyEval_EvalCode() PyEval_EvalCodeEx() PyEval_EvalFrame() PyEval_EvalFrameEx() PyEval_GetBuiltins() PyEval_...GetFrame() PyEval_GetFrameBuiltins() PyEval_GetFrameGlobals() PyEval_GetFrameLocals() PyEval_GetFuncDesc() PyEval_GetFuncName() PyEval_GetGl...obals() PyEval_GetLocals() PyEval_InitThreads() PyEval_ReleaseThread() PyEval_RestoreThread() PyEval_SaveThread() PyExc_ArithmeticError P... - https://man.mtool.work/python/3.14/c-api/stable.html