Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 82 for traceback (0.032 sec.)
29.9. traceback --- スタックトレースの表示または取得 — Python 3.6.5 ドキュメン... 14058
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... リ » 29. Python ランタイムサービス » 29.9. traceback --- スタックトレースの表示または取得 ¶ ソースコード ... : Lib/traceback.py このモジュールは Python プログラムのスタックトレ ... ェクトを使用します。このオブジェクトの型は sys.last_traceback 変数に格納され、 sys.exc_info() の三番目に返されま ... このモジュールには、以下の関数が定義されています: traceback. print_tb ( tb , limit=None , file=None ) ¶ limit ...
https://man.plustar.jp/python/library/traceback.html - [similar]
27.2. faulthandler --- Python tracebackのダンプ — Python 3.6.5 ドキュメント 13200
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... バッグとプロファイル » 27.2. faulthandler --- Python tracebackのダンプ ¶ バージョン 3.3 で追加. このモジュールは、 ... ト時、ユーザシグナルの発生時などのタイミングでpython tracebackを明示的にダンプするための関数を含んでいます。これら ... プメモリ上にメモリ確保はできません)。この制限により、tracebackのダンプ機能は通常のPythonのtracebackと比べてごく僅か ... び出しが最初に表示されます。 デフォルトでは、Pythonのtracebackは sys.stderr に書き出されます。tracebackを見るには、 ...
https://man.plustar.jp/python/library/faulthandler.html - [similar]
27.7. tracemalloc --- メモリ割り当ての追跡 — Python 3.6.5 ドキュメント 12927
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... has cached 940 KiB of Python source code to format tracebacks, all of it since the previous snapshot. システムに ... e_snapshot () top_stats = snapshot . statistics ( 'traceback' ) # pick the biggest memory block stat = top_stat ... . count , stat . size / 1024 )) for line in stat . traceback . format (): print ( line ) Python テストスイートの ... ecode and constants) from modules: 870.1 KiB . The traceback is where the importlib loaded data most recently: ...
https://man.plustar.jp/python/library/tracemalloc.html - [similar]
27. デバッグとプロファイル — Python 3.6.5 ドキュメント 8405
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... バッガーフレームワーク 27.2. faulthandler --- Python tracebackのダンプ 27.2.1. tracebackのダンプ 27.2.2. フォールト ... ハンドラの状態 27.2.3. タイムアウト後にtracebackをダンプする 27.2.4. ユーザシグナルに対してtraceback ... 27.7.2.7. StatisticDiff 27.7.2.8. Trace 27.7.2.9. Traceback 関連キーワード: デバッグ , 実行 , traceback , ダン ...
https://man.plustar.jp/python/library/debug.html - [similar]
What's New In Python 3.6 — Python 3.6.5 ドキュメント 7969
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho ... locators now use the tracemalloc module to get the traceback where a memory block was allocated. Example of fat ... kivskyi in bpo-25958 .) Long sequences of repeated traceback lines are now abbreviated as "[Previous line repea ... ted {count} more times]" (see traceback for an example). (Contributed by Emanuel Barry in ... . (Contributed by Serhiy Storchaka in bpo-22115 ). traceback ¶ Both the traceback module and the interpreter's ...
https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
26.5. unittest.mock --- モックオブジェクトライブラリ — Python 3.6.5 ドキュメン... 7914
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ck ( side_effect = KeyError ( 'foo' )) >>> mock () Traceback (most recent call last): ... KeyError : 'foo' >>> ... , 2 , 3 ) >>> mock_function ( 'wrong arguments' ) Traceback (most recent call last): ... TypeError : <lambda>( ... d='...'> >>> mock . method . assert_called_once () Traceback (most recent call last): ... AssertionError : Expe ... sert_called_once_with ( 'other' , bar = 'values' ) Traceback (most recent call last): ... AssertionError : Expe ...
https://man.plustar.jp/python/library/unittest.mock.html - [similar]
例外処理 — Python 3.6.5 ドキュメント 7587
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... であれば、 sys.last_type , sys.last_value , sys.last_traceback 変数が、表示される例外のタイプ、値、トレースバック ... PyObject **ptype , PyObject **pvalue , PyObject **ptraceback ) ¶ エラーインジケータをアドレスを渡す三つの変数の ... ードでのみ使います。 { PyObject * type , * value , * traceback ; PyErr_Fetch ( & type , & value , & traceback ); ... other errors ... */ PyErr_Restore ( type , value , traceback ); } void PyErr_Restore ( PyObject *type , PyObjec ...
https://man.plustar.jp/python/c-api/exceptions.html - [similar]
8. エラーと例外 — Python 3.6.5 ドキュメント 7533
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python チュートリア ... されるようなメッセージになります: >>> 10 * ( 1 / 0 ) Traceback (most recent call last): File "<stdin>" , line 1 , ... oDivisionError : division by zero >>> 4 + spam * 3 Traceback (most recent call last): File "<stdin>" , line 1 , ... NameError : name 'spam' is not defined >>> '2' + 2 Traceback (most recent call last): File "<stdin>" , line 1 , ... キスト (context) を、スタックのトレースバック (stack traceback) の形式で示しています。一般には、この部分にはソース ...
https://man.plustar.jp/python/tutorial/errors.html - [similar]
16.16. ctypes --- Pythonのための外部関数ライブラリ — Python 3.6.5 ドキュメント 7383
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... .> >>> print ( windll . kernel32 . MyOwnFunction ) Traceback (most recent call last): File "<stdin>" , line 1 , ... FuncPtr object at 0x...> >>> cdll . kernel32 [ 0 ] Traceback (most recent call last): File "<stdin>" , line 1 , ... す: >>> cdll . kernel32 . GetModuleHandleA ( None ) Traceback (most recent call last): File "<stdin>" , line 1 , ... ing) >>> >>> windll . msvcrt . printf ( b "spam" ) Traceback (most recent call last): File "<stdin>" , line 1 , ...
https://man.plustar.jp/python/library/ctypes.html - [similar]
26.3. doctest --- 対話的な実行例をテストする — Python 3.6.5 ドキュメント 7165
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 65252859812191058636308480000000 >>> factorial(-1) Traceback (most recent call last): ... ValueError: n must be ... loat must be an exact integer: >>> factorial(30.1) Traceback (most recent call last): ... ValueError: n must be ... so not be ridiculously large: >>> factorial(1e100) Traceback (most recent call last): ... OverflowError: n too ... 合で、最後には: Trying: factorial(1e100) Expecting: Traceback (most recent call last): ... OverflowError: n too ...
https://man.plustar.jp/python/library/doctest.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 NEXT