Results of 1 - 10 of about 172 for stack (0.006 sec.)
- dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 12500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ
...tect all offsets in the raw compiled bytecode string code which are jump targets, and return a list of these offsets. dis. stack_effect ( opcode , oparg = None , * , jump = None ) ¶ opcode と引数 oparg がスタックに与える影響を計算します。 If the code...has a jump target and jump is True , stack_effect() will return the stack effect of jumping. If jump is False , it will return the stack effect of not jumping. And i...f jump is None (default), it will return the maximal stack effect of both cases. Added in version 3.4. バージョン 3.8 で変更: Added jump parameter. バージョン 3.13 で変更: If oparg... - https://man.mtool.work/python/3.14/library/dis.html
- dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 12500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ
...tect all offsets in the raw compiled bytecode string code which are jump targets, and return a list of these offsets. dis. stack_effect ( opcode , oparg = None , * , jump = None ) ¶ opcode と引数 oparg がスタックに与える影響を計算します。 If the code...has a jump target and jump is True , stack_effect() will return the stack effect of jumping. If jump is False , it will return the stack effect of not jumping. And i...f jump is None (default), it will return the maximal stack effect of both cases. Added in version 3.4. バージョン 3.8 で変更: Added jump parameter. バージョン 3.13 で変更: If oparg... - https://man.mtool.work/python/3.14/library/dis.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 8712
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...スの表示または取得 ¶ ソースコード: Lib/traceback.py This module provides a standard interface to extract, format and print stack traces of Python programs. It is more flexible than the interpreter's default traceback display, and therefore makes it po...which are useful for interactive inspection of exceptions and tracebacks. TracebackException class and its helper classes StackSummary and FrameSummary . These offer both more flexibility in the output generated and the ability to store the informati...vironment variables . モジュールレベルの関数 ¶ traceback. print_tb ( tb , limit = None , file = None ) ¶ Print up to limit stack trace entries from traceback object tb (starting from the caller's frame) if limit is positive. Otherwise, print the last... - https://man.mtool.work/python/3.14/library/traceback.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 8712
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...スの表示または取得 ¶ ソースコード: Lib/traceback.py This module provides a standard interface to extract, format and print stack traces of Python programs. It is more flexible than the interpreter's default traceback display, and therefore makes it po...which are useful for interactive inspection of exceptions and tracebacks. TracebackException class and its helper classes StackSummary and FrameSummary . These offer both more flexibility in the output generated and the ability to store the informati...vironment variables . モジュールレベルの関数 ¶ traceback. print_tb ( tb , limit = None , file = None ) ¶ Print up to limit stack trace entries from traceback object tb (starting from the caller's frame) if limit is positive. Otherwise, print the last... - https://man.mtool.work/python/3.14/library/traceback.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 8599
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...middle' ) ... >>> run ( function ()) Starting The bit in the middle Finishing Added in version 3.10. class contextlib. ExitStack ¶ 他の、特にオプションであったり入力に依存するようなコンテキストマネージャーやクリーンアップ関数を動的に組み合わせるための...コンテキストマネージャーです。 例えば、複数のファイルを1つの with 文で簡単に扱うことができます: with ExitStack () as stack : files = [ stack . enter_context ( open ( fname )) for fname in filenames ] # All opened files will automatic...th statement, even if attempts to open files later # in the list raise an exception The __enter__() method returns the ExitStack instance, and performs no additional operations. 各インスタンスは登録されたコールバックのスタックを管理し、インスタンスが... - https://man.mtool.work/python/3.14/library/contextlib.html
- contextlib --- with 文コンテキスト用ユーティリティ — Python 3.14.8 ドキュメント 8599
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » contextlib --- with 文コンテキスト用ユーティリティ テーマ 自動 ライト ダーク | contextlib --- with 文コ
...middle' ) ... >>> run ( function ()) Starting The bit in the middle Finishing Added in version 3.10. class contextlib. ExitStack ¶ 他の、特にオプションであったり入力に依存するようなコンテキストマネージャーやクリーンアップ関数を動的に組み合わせるための...コンテキストマネージャーです。 例えば、複数のファイルを1つの with 文で簡単に扱うことができます: with ExitStack () as stack : files = [ stack . enter_context ( open ( fname )) for fname in filenames ] # All opened files will automatic...th statement, even if attempts to open files later # in the list raise an exception The __enter__() method returns the ExitStack instance, and performs no additional operations. 各インスタンスは登録されたコールバックのスタックを管理し、インスタンスが... - https://man.mtool.work/python/3.14/library/contextlib.html
- faulthandler --- Python トレースバックをダンプする — Python 3.14.8 ドキュメント 8487
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » faulthandler --- Python トレースバックをダンプする テーマ 自動 ライト ダーク | faulthandler --- Python ト
...ハンドラは、apportやWindowsのフォールトハンドラのようなシステムフォールトハンドラと互換性があります。このモジュールは sigaltstack() 関数が使用可能であればシグナルハンドラ用に代替スタックを利用します。これによってスタックオーバーフロー時にもトレースバッ...Interactive source code debugger for Python programs. traceback モジュール Standard interface to extract, format and print stack traces of Python programs. tracebackのダンプ ¶ faulthandler. dump_traceback ( file = sys.stderr , all_threads = True ) ¶ D...print a traceback object. バージョン 3.5 で変更: Added support for passing file descriptor to this function. Dumping the C stack ¶ Added in version 3.14. faulthandler. dump_c_stack ( file = sys.stderr ) ¶ Dump the C stack trace of the current thread i... - https://man.mtool.work/python/3.14/library/faulthandler.html
- faulthandler --- Python トレースバックをダンプする — Python 3.14.8 ドキュメント 8487
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » faulthandler --- Python トレースバックをダンプする テーマ 自動 ライト ダーク | faulthandler --- Python ト
...ハンドラは、apportやWindowsのフォールトハンドラのようなシステムフォールトハンドラと互換性があります。このモジュールは sigaltstack() 関数が使用可能であればシグナルハンドラ用に代替スタックを利用します。これによってスタックオーバーフロー時にもトレースバッ...Interactive source code debugger for Python programs. traceback モジュール Standard interface to extract, format and print stack traces of Python programs. tracebackのダンプ ¶ faulthandler. dump_traceback ( file = sys.stderr , all_threads = True ) ¶ D...print a traceback object. バージョン 3.5 で変更: Added support for passing file descriptor to this function. Dumping the C stack ¶ Added in version 3.14. faulthandler. dump_c_stack ( file = sys.stderr ) ¶ Dump the C stack trace of the current thread i... - https://man.mtool.work/python/3.14/library/faulthandler.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 8307
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...ef bar ( n ): foo ( n ) def baz ( n ): bar ( n ) if __name__ == "__main__" : baz ( 1000000 ) We can run perf to sample CPU stack traces at 9999 hertz: $ perf record -F 9999 -g -o perf.data python my_script.py Then we can use perf report to analyze the...r from the start using the environment variable PYTHONPERFSUPPORT or the -X perf option, or dynamically using sys.activate_stack_trampoline() and sys.deactivate_stack_trampoline() . The sys functions take precedence over the -X option, the -X option t...perf my_script.py $ perf report -g -i perf.data Example, using the sys APIs in file example.py : import sys sys . activate_stack_trampoline ( "perf" ) do_profiled_stuff () sys . deactivate_stack_trampoline () non_profiled_stuff () ...then: $ perf reco... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 8307
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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
...ef bar ( n ): foo ( n ) def baz ( n ): bar ( n ) if __name__ == "__main__" : baz ( 1000000 ) We can run perf to sample CPU stack traces at 9999 hertz: $ perf record -F 9999 -g -o perf.data python my_script.py Then we can use perf report to analyze the...r from the start using the environment variable PYTHONPERFSUPPORT or the -X perf option, or dynamically using sys.activate_stack_trampoline() and sys.deactivate_stack_trampoline() . The sys functions take precedence over the -X option, the -X option t...perf my_script.py $ perf report -g -i perf.data Example, using the sys APIs in file example.py : import sys sys . activate_stack_trampoline ( "perf" ) do_profiled_stuff () sys . deactivate_stack_trampoline () non_profiled_stuff () ...then: $ perf reco... - https://man.mtool.work/python/3.14/howto/perf_profiling.html