Results of 1 - 10 of about 440 for line (0.051 sec.)
- 変更履歴 — Python 3.14.8 ドキュメント 8224
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...d_offset for the "Non-UTF-8 code starting with ..." error when a non-ASCII character precedes the invalid byte on the same line. Patch by Shamil Abdulaev. gh-156762 : Fix undefined behaviour in operator.methodcaller : its tp_clear slot function retur...allocating could prevent cyclic garbage from ever being collected. gh-156091 : Fix a crash when compiling deeply nested inlined list, set, or dict comprehensions. A SyntaxError is now raised when the nesting exceeds the compiler's static block limit.... gh-156894 : Fix the position of syntax errors which cover a range if the line contains non-ASCII characters before the error. gh-155525 : Fix quadratic-time tokenization of modules containing many f-s... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 8016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...fig() function can set an exit code if the parse_argv option is non-zero. An exit code can be set when parsing the command line failed (exit code 2 ) or when a command line option asks to display the command line help (exit code 0 ). Get Options ¶ Th...み出し専用 "show_ref_count" show_ref_count bool 読み出し専用 "site_import" site_import bool 読み出し専用 "skip_source_first_line" skip_source_first_line bool 読み出し専用 "stdio_encoding" stdio_encoding str 読み出し専用 "stdio_errors" stdio_errors str...) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); config . isolated = 1 ; /* Decode command line arguments. Implicitly preinitialize Python (in isolated mode). */ status = PyConfig_SetBytesArgv ( & config , argc , argv... - https://man.mtool.work/python/3.14/c-api/init_config.html
- Python 初期化設定 — Python 3.14.8 ドキュメント 8016
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia
...fig() function can set an exit code if the parse_argv option is non-zero. An exit code can be set when parsing the command line failed (exit code 2 ) or when a command line option asks to display the command line help (exit code 0 ). Get Options ¶ Th...み出し専用 "show_ref_count" show_ref_count bool 読み出し専用 "site_import" site_import bool 読み出し専用 "skip_source_first_line" skip_source_first_line bool 読み出し専用 "stdio_encoding" stdio_encoding str 読み出し専用 "stdio_errors" stdio_errors str...) { PyStatus status ; PyConfig config ; PyConfig_InitPythonConfig ( & config ); config . isolated = 1 ; /* Decode command line arguments. Implicitly preinitialize Python (in isolated mode). */ status = PyConfig_SetBytesArgv ( & config , argc , argv... - https://man.mtool.work/python/3.14/c-api/init_config.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 7983
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...ceback using an exception value such as given by sys.last_exc . The return value is a list of strings, each ending in a newline. The list contains the exception's message, which is normally a single string; however, for SyntaxError exceptions, it con...tains several lines that (when printed) display detailed information about where the syntax error occurred. Following the message, the list c...in version 3.4. traceback. walk_stack ( f ) ¶ Walk a stack following f.f_back from the given frame, yielding the frame and line number for each frame. If f is None , the current stack is used. This helper is used with StackSummary.extract() . Added i... - https://man.mtool.work/python/3.14/library/traceback.html
- traceback --- スタックトレースの表示または取得 — Python 3.14.8 ドキュメント 7983
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » traceback --- スタックトレースの表示または取得 テーマ 自動 ライト ダーク | traceback --- スタックトレー
...ceback using an exception value such as given by sys.last_exc . The return value is a list of strings, each ending in a newline. The list contains the exception's message, which is normally a single string; however, for SyntaxError exceptions, it con...tains several lines that (when printed) display detailed information about where the syntax error occurred. Following the message, the list c...in version 3.4. traceback. walk_stack ( f ) ¶ Walk a stack following f.f_back from the given frame, yielding the frame and line number for each frame. If f is None , the current stack is used. This helper is used with StackSummary.extract() . Added i... - https://man.mtool.work/python/3.14/library/traceback.html
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 7195
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
...c . start () # ... run your application ... snapshot = tracemalloc . take_snapshot () top_stats = snapshot . statistics ( 'lineno' ) print ( "[ Top 10 ]" ) for stat in top_stats [: 10 ]: print ( stat ) Python テストスイートの出力例です: [ Top 10 ] <...e function leaking memory ... snapshot2 = tracemalloc . take_snapshot () top_stats = snapshot2 . compare_to ( snapshot1 , 'lineno' ) print ( "[ Top 10 differences ]" ) for stat in top_stats [: 10 ]: print ( stat ) Python テストスイートのテストを実行す..._bootstrap > : 716 : size = 8173 KiB ( + 4428 KiB ), count = 71332 ( + 39369 ), average = 117 B / usr / lib / python3 .4 / linecache . py : 127 : size = 940 KiB ( + 940 KiB ), count = 8106 ( + 8106 ), average = 119 B / usr / lib / python3 .4 / unitte... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 7195
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
...c . start () # ... run your application ... snapshot = tracemalloc . take_snapshot () top_stats = snapshot . statistics ( 'lineno' ) print ( "[ Top 10 ]" ) for stat in top_stats [: 10 ]: print ( stat ) Python テストスイートの出力例です: [ Top 10 ] <...e function leaking memory ... snapshot2 = tracemalloc . take_snapshot () top_stats = snapshot2 . compare_to ( snapshot1 , 'lineno' ) print ( "[ Top 10 differences ]" ) for stat in top_stats [: 10 ]: print ( stat ) Python テストスイートのテストを実行す..._bootstrap > : 716 : size = 8173 KiB ( + 4428 KiB ), count = 71332 ( + 39369 ), average = 117 B / usr / lib / python3 .4 / linecache . py : 127 : size = 940 KiB ( + 940 KiB ), count = 8106 ( + 8106 ), average = 119 B / usr / lib / python3 .4 / unitte... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 6888
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ¶
...s a py-list command, which lists the Python source code (if any) for the current frame in the selected thread. The current line is marked with a ">": (gdb) py-list 901 if options.profile: 902 options.profile = False 903 profile_me() 904 return 905 >9...in() 910 except KeyboardInterrupt: 911 # properly quit on a keyboard interrupt... Use py-list START to list at a different line number within the Python source, and py-list START,END to list a specific range of lines within the Python source. py-up a...thin the thread. 例えば: (gdb) py-up #37 Frame 0x9420b04, for file /usr/lib/python2.6/site-packages/ gnome_sudoku/main.py, line 906, in start_game () u = UI() (gdb) py-up #40 Frame 0x948e82c, for file /usr/lib/python2.6/site-packages/ gnome_sudoku/gn... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 6888
- ナビゲーション 索引 モジュール | 次へ | 前へ | 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 ¶
...s a py-list command, which lists the Python source code (if any) for the current frame in the selected thread. The current line is marked with a ">": (gdb) py-list 901 if options.profile: 902 options.profile = False 903 profile_me() 904 return 905 >9...in() 910 except KeyboardInterrupt: 911 # properly quit on a keyboard interrupt... Use py-list START to list at a different line number within the Python source, and py-list START,END to list a specific range of lines within the Python source. py-up a...thin the thread. 例えば: (gdb) py-up #37 Frame 0x9420b04, for file /usr/lib/python2.6/site-packages/ gnome_sudoku/main.py, line 906, in start_game () u = UI() (gdb) py-up #40 Frame 0x948e82c, for file /usr/lib/python2.6/site-packages/ gnome_sudoku/gn... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- optparse --- Parser for command line options — Python 3.14.8 ドキュメント 6713
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » コマンドラインインターフェースライブラリ » optparse --- Parser for command line options テーマ 自動 ライト ダーク | optparse --- Pa
...rser for command line options ¶ ソースコード: Lib/optparse.py Choosing an argument parsing library ¶ The standard library includes three argumen...absence of more specific argument parsing design constraints, argparse is the recommended choice for implementing command line applications, as it offers the highest level of baseline functionality with the least application level code. getopt is re...or backwards compatibility reasons. However, it also serves a niche use case as a tool for prototyping and testing command line argument handling in getopt -based C applications. optparse should be considered as an alternative to argparse in the foll... - https://man.mtool.work/python/3.14/library/optparse.html