Results of 1 - 10 of about 80 for frames (0.036 sec.)
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 12478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
...ブロックのトレースバックを取得する ¶ 最大のメモリブロックのトレースバックを表示するコードです: import tracemalloc # Store 25 frames tracemalloc . start ( 25 ) # ... run your application ... snapshot = tracemalloc . take_snapshot () top_stats = snapshot ....みを保存します、つまり上限は 1 です。 nframe は 1 以上でなければなりません。 You can still read the original number of total frames that composed the traceback by looking at the Traceback.total_nframe attribute. 1 より多くのフレームを保存するのは 'traceb...を計算する場合にのみ有用です。 Snapshot.compare_to() および Snapshot.statistics() メソッドを参照してください。 Storing more frames increases the memory and CPU overhead of the tracemalloc module. Use the get_tracemalloc_memory() function to measure how... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 12478
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
...ブロックのトレースバックを取得する ¶ 最大のメモリブロックのトレースバックを表示するコードです: import tracemalloc # Store 25 frames tracemalloc . start ( 25 ) # ... run your application ... snapshot = tracemalloc . take_snapshot () top_stats = snapshot ....みを保存します、つまり上限は 1 です。 nframe は 1 以上でなければなりません。 You can still read the original number of total frames that composed the traceback by looking at the Traceback.total_nframe attribute. 1 より多くのフレームを保存するのは 'traceb...を計算する場合にのみ有用です。 Snapshot.compare_to() および Snapshot.statistics() メソッドを参照してください。 Storing more frames increases the memory and CPU overhead of the tracemalloc module. Use the get_tracemalloc_memory() function to measure how... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- wave --- WAV ファイルの読み書き — Python 3.14.8 ドキュメント 10328
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » マルチメディアサービス » wave --- WAV ファイルの読み書き テーマ 自動 ライト ダーク | wave --- WAV ファイルの読み書き ¶ ソースコード
...)を返します。 getsampwidth ( ) ¶ サンプルサイズをバイト数で返します。 getframerate ( ) ¶ サンプリングレートを返します。 getnframes ( ) ¶ オーディオフレーム数を返します。 getcomptype ( ) ¶ 圧縮形式を返します( 'NONE' だけがサポートされている形式です)。...'NONE' に対して 'not compressed' が返されます。 getparams ( ) ¶ Returns a namedtuple() (nchannels, sampwidth, framerate, nframes, comptype, compname) , equivalent to output of the get*() methods. readframes ( n ) ¶ 最大 n 個のオーディオフレームを読み込...s returned by open() . For seekable output streams, the wave header will automatically be updated to reflect the number of frames actually written. For unseekable streams, the nframes value must be accurate when the first frame data is written. An accu... - https://man.mtool.work/python/3.14/library/wave.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 9725
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...he py-up and py-down commands are analogous to GDB's regular up and down commands, but try to move at the level of CPython frames, rather than C frames. GDB is not always able to read the relevant frame information, depending on the optimization level...with which CPython was compiled. Internally, the commands look for C frames that are executing the default frame evaluation function (that is, the core bytecode interpreter loop within CPython) and...y, line 22, in start_game(main=<module at remote 0xb771b7f4>) main.start_game() (gdb) py-up Unable to find an older python frame so we're at the top of the Python stack. The frame numbers correspond to those displayed by GDB's standard backtrace comman... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 9725
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...he py-up and py-down commands are analogous to GDB's regular up and down commands, but try to move at the level of CPython frames, rather than C frames. GDB is not always able to read the relevant frame information, depending on the optimization level...with which CPython was compiled. Internally, the commands look for C frames that are executing the default frame evaluation function (that is, the core bytecode interpreter loop within CPython) and...y, line 22, in start_game(main=<module at remote 0xb771b7f4>) main.start_game() (gdb) py-up Unable to find an older python frame so we're at the top of the Python stack. The frame numbers correspond to those displayed by GDB's standard backtrace comman... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- wave --- WAV ファイルの読み書き — Python 3.14.8 ドキュメント 9574
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » マルチメディアサービス » wave --- WAV ファイルの読み書き テーマ 自動 ライト ダーク | wave --- WAV ファイルの読み書き ¶ ソースコード
...)を返します。 getsampwidth ( ) ¶ サンプルサイズをバイト数で返します。 getframerate ( ) ¶ サンプリングレートを返します。 getnframes ( ) ¶ オーディオフレーム数を返します。 getcomptype ( ) ¶ 圧縮形式を返します( 'NONE' だけがサポートされている形式です)。...'NONE' に対して 'not compressed' が返されます。 getparams ( ) ¶ Returns a namedtuple() (nchannels, sampwidth, framerate, nframes, comptype, compname) , equivalent to output of the get*() methods. readframes ( n ) ¶ 最大 n 個のオーディオフレームを読み込...s returned by open() . For seekable output streams, the wave header will automatically be updated to reflect the number of frames actually written. For unseekable streams, the nframes value must be accurate when the first frame data is written. An accu... - https://man.mtool.work/python/3.14/library/wave.html
- フレーム (frame) オブジェクト — Python 3.14.8 ドキュメント 8807
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » フレーム (frame) オブジェクト テーマ 自動 ライト ダーク | フレーム (frame) オブジェク
...ith an exception set on failure. Soft deprecated since version 3.13: This function now does nothing. 参考 PEP 667 Internal frames ¶ Unless using PEP 523 , you will not need this. struct _PyInterpreterFrame ¶ The interpreter's internal frame representat...Unstable API です。マイナーリリースで予告なく変更されることがあります。 An array of executable kinds (executor types) for frames, used for internal debugging and tracing. Tools like debuggers and profilers can use this to identify the type of executio...n context associated with a frame (such as to filter out internal frames). The entries are indexed by the following constants: 定数 説明 PyUnstable_EXECUTABLE_KIND_SKIP ¶ これは Unstable API です... - https://man.mtool.work/python/3.14/c-api/frame.html
- 変更履歴 — Python 3.14.8 ドキュメント 8807
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...URL, while URIs without a scheme continue to match any scheme. Core and Builtins ¶ gh-158364 : Fix crash when sys._current_frames() or sys._current_exceptions() is called while another interpreter is running. gh-158254 : Reverse iterators over a dict a...x an intermittent crash after os.fork() when perf trampoline profiling is enabled and the child returns through trampoline frames inherited from the parent process. gh-149449 : Fix a use-after-free crash when the unicodedata module was removed from sys...r these objects. gh-149489 : Fix ElementTree serialization to HTML. The content of elements "xmp", "iframe", "noembed", "noframes", and "plaintext" is no longer escaped. The "plaintext" element no longer have the closing tag. gh-149231 : In tomllib , t... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- フレーム (frame) オブジェクト — Python 3.14.8 ドキュメント 8807
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » フレーム (frame) オブジェクト テーマ 自動 ライト ダーク | フレーム (frame) オブジェク
...ith an exception set on failure. Soft deprecated since version 3.13: This function now does nothing. 参考 PEP 667 Internal frames ¶ Unless using PEP 523 , you will not need this. struct _PyInterpreterFrame ¶ The interpreter's internal frame representat...Unstable API です。マイナーリリースで予告なく変更されることがあります。 An array of executable kinds (executor types) for frames, used for internal debugging and tracing. Tools like debuggers and profilers can use this to identify the type of executio...n context associated with a frame (such as to filter out internal frames). The entries are indexed by the following constants: 定数 説明 PyUnstable_EXECUTABLE_KIND_SKIP ¶ これは Unstable API です... - https://man.mtool.work/python/3.14/c-api/frame.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 8492
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...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 information necessary for l...tack traces. The optional limit argument has the same meaning as for print_tb() . A "pre-processed" stack trace entry is a FrameSummary object with attributes representing the information that is usually printed for a stack trace. traceback. extract_st...to sys.stderr . traceback. format_list ( extracted_list ) ¶ extract_tb() または extract_stack() が返すタプルのリストまたは FrameSummary オブジェクトが与えられると、出力の準備を整えた文字列のリストを返します。結果として生じるリストの中の各文字列は、引数... - https://man.mtool.work/python/3.14/library/traceback.html