Results of 1 - 10 of about 68 for note (0.004 sec.)
- select --- I/O 完了の待機 16494
- select --- I/O 完了の待機 このモジュールでは、ほとんどのオペレーティングシステムで利用可能な select() および poll() 関数、Solaris やその派生で利用可能な devpoll() 、Linux 2.5+ で利用可能な epoll() 、多くのBSDで利用可能な kqueue() 関数に対す
...OR 戻り値を参照。 kevent. fflags フィルター固有のフラグ。 KQ_FILTER_READ と KQ_FILTER_WRITE フィルタのフラグ: 定数 意味 KQ_NOTE_LOWAT ソケットバッファの低水位標 (low water mark)。 KQ_FILTER_VNODE フィルタのフラグ: 定数 意味 KQ_NOTE_DELETE unlink() が...呼び出された。 KQ_NOTE_WRITE 書き込みが発生した。 KQ_NOTE_EXTEND ファイルが拡張された。 KQ_NOTE_ATTRIB 属性が変更された。 KQ_NOTE_LINK リンク数が...変わった。 KQ_NOTE_RENAME ファイル名が変更された。 KQ_NOTE_REVOKE ファイルへのアクセスが取り消された。 KQ_FILTER_PROC フィルタフラグ: 定数 意... - https://man.mtool.work/python/3.14/library/select.html
- 組み込み例外 10608
- 組み込み例外 Python において、すべての例外は BaseException から派生したクラスのインスタンスでなければなりません。特定のクラスを言及する except 節を伴う try 文において、その節はそのクラスから派生した例外クラスも処理しますが、そのクラスの派生
...例外に関連付けられた トレースバックオブジェクト を保持する、書き込み可能なフィールドです。 raise 文 も参照してください。 add_note ( note ) 例外のノートとして文字列 note を追加します。ノートは標準のトレースバックで例外文字列の後に表示されます。 note が文...字列以外の場合 TypeError が送出されます。 Added in version 3.11. __notes__ add_note() で追加された例外のノートのリスト。この属性は add_note() を呼び出すと生成されます。 Added in version 3.11. ex...クトを除く) も指定できます。 結果には、現在の例外の入れ子構造と、 message 、 __traceback__ 、 __cause__ 、 __context__ 、 __notes__ の各フィールドの値が保持されます。 入れ子になった空のグループは結果から除かれます。 条件は、最上位の例外グループと入れ子... - https://man.mtool.work/python/3.14/builtins/exceptions.html
- DTrace と SystemTap で CPython を測定する 10608
- DTrace と SystemTap で CPython を測定する author : David Malcolm author : Łukasz Langa Dtrace と SystemTap はモニタリングツールで、コンピュータシステムのプロセスが何をしているかを調べる方法を提供します。 どちらもドメイン固有言語 (domain-spe
...hon3.6 _PyEval_EvalFrameDefault line 29571 python18035 python3.6 maybe_dtrace_line line Linux では、ビルドしたバイナリに ".note.stapsdt" セクションが含まれているか調べると、SystemTap の静的マーカーの有無を確認できます。 $ readelf -S ./python | grep ....note.stapsdt [30] .note.stapsdt NOTE 0000000000000000 00308d78 Python を共有ライブラリとしてビルドした場合 (configure オプション --enable-shared を...した場合) は、共有ライブラリの中を調べる必要があります。 例えば次のようにします。 $ readelf -S libpython3.3dm.so.1.0 | grep .note.stapsdt [29] .note.stapsdt NOTE 0000000000000000 00365b68 十分に新しい readelf ではメタデータを出力できます: $ readelf -n... - https://man.mtool.work/python/3.14/howto/instrumentation.html
- 8. エラーと例外 8637
- 8. エラーと例外 これまでエラーメッセージについては簡単に触れるだけでしたが、チュートリアル中の例を自分で試していたら、実際にいくつかのエラーメッセージを見ていることでしょう。エラーには (少なくとも) 二つのはっきり異なる種類があります。それは
...ラーを説明する情報で初期化されます。例外を受け取ったあとに情報を追加すると便利な場合があります。この目的のために、例外は add_note(note) メソッドを持ちます。このメソッドは文字列を受け取り、例外のノートのリストに追加します。標準のトレースバックでは例外の...のノートが追加した順番に出力されます。: >>> try : ... raise TypeError ( 'bad type' ) ... except Exception as e : ... e . add_note ( 'Add some information' ) ... e . add_note ( 'Add some more information' ) ... raise ... Traceback (most recent call last...operation failed' ) ... >>> excs = [] >>> for i in range ( 3 ): ... try : ... f () ... except Exception as e : ... e . add_note ( f 'Happened in Iteration { i + 1 } ' ) ... excs . append ( e ) ... >>> raise ExceptionGroup ( 'We have some problems' ,... - https://man.mtool.work/python/3.14/tutorial/errors.html
- 10. 完全な文法仕様 8467
- 10. 完全な文法仕様 以下は Python の完全な文法で、CPython のパーサを生成するための文法から直接得たものです ( Grammar/python.gram を参照)。 ここでは、コード生成とエラー回復に関する詳細を省略しています。 ここで使う記法は、これまでのドキュメント
...OF THE GRAMMAR ========================= # General grammatical elements and rules: # # * Strings with double quotes (") denote SOFT KEYWORDS # * Strings with single quotes (') denote KEYWORDS # * Upper case names (NAME) denote tokens in the Grammar/...NDMARKER simple_stmts : | simple_stmt !';' NEWLINE # Not needed, there for speedup | ';' . simple_stmt + [ ';' ] NEWLINE # NOTE: assignment MUST precede expression, else parsing a simple assignment # will throw a SyntaxError. simple_stmt : | assignme...if_stmt | class_def | with_stmt | for_stmt | try_stmt | while_stmt | match_stmt # SIMPLE STATEMENTS # ================= # NOTE: annotated_rhs may start with 'yield'; yield_expr must start with 'yield' assignment : | NAME ':' expression [ '=' annotat... - https://man.mtool.work/python/3.14/reference/grammar.html
- The Python Profilers 8282
- The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how
...that the function recursed. The second value is the number of primitive calls and the former is the total number of calls. Note that when the function does not recurse, these two values are the same, and only the single figure is printed. Instead of...ルな環境で cmd をプロファイルします。 runcall ( func , / , * args , ** kwargs ) func(*args, **kwargs) をプロファイルします。 Note that profiling will only work if the called command/function actually returns. If the interpreter is terminated (e.g. via...mp_stats ( filename ) Save the data loaded into the Stats object to a file named filename . The file is created if it does not exist, and is overwritten if it already exists. This is equivalent to the method of the same name on the profile.Profile an... - https://man.mtool.work/python/3.14/library/profile.html
- 浮動小数点オブジェクト 7928
- 浮動小数点オブジェクト type PyFloatObject この PyObject のサブタイプは Python の浮動小数点オブジェクトを表します。 PyTypeObject PyFloat_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python の浮動小数点型を表します。 Pyt
...m) isn't handled correctly, and attempting to unpack a bytes string containing an IEEE INF or NaN will raise an exception. Note that NaN type may not be preserved on IEEE platforms (signaling NaNs become quiet NaNs), for example on x86 systems in 32-...た double です。 エラーの場合は -1.0 を返し、 PyErr_Occurred() が真になります (例外も設定され、通常は OverflowError です)。 Note that on a non-IEEE platform this will refuse to unpack a bytes string that represents a NaN or infinity. double PyFloat_Un... - https://man.mtool.work/python/3.14/c-api/float.html
- email.utils: 各種ユーティリティ 7743
- email.utils : 各種ユーティリティ ソースコード: Lib/email/utils.py email.utils モジュールには、いくつかの便利なユーティリティがあります: email.utils. localtime ( dt = None ) Return local time as an aware datetime object. If called without ar
...ng the date, parsedate() returns a 9-tuple that can be passed directly to time.mktime() ; otherwise None will be returned. Note that indexes 6, 7, and 8 of the result tuple are not usable. email.utils. parsedate_tz ( date ) parsedate() と同じ処理を行...ータのリストをデコードします。 params は (content-type, string-value) 形式の 2 要素タプルからなるシーケンスです。 脚注 [ 1 ] Note that the sign of the timezone offset is the opposite of the sign of the time.timezone variable for the same timezone; the... - https://man.mtool.work/python/3.14/library/email.utils.html
- runpy --- Python モジュールの位置特定と実行 7743
- runpy --- Python モジュールの位置特定と実行 ソースコード: Lib/runpy.py runpy モジュールは、Python モジュールをあらかじめインポートせずに見つけて実行するために使います。 主な用途はコマンドラインオプション -m の実装です。 このオプションを使う
...__file__ , __cached__ , __loader__ and __package__ are set in the globals dictionary before the module code is executed. (Note that this is a minimal set of variables - other variables may be set implicitly as an interpreter implementation detail.)...__file__ , __cached__ , __loader__ and __package__ are set in the globals dictionary before the module code is executed. (Note that this is a minimal set of variables - other variables may be set implicitly as an interpreter implementation detail.)... - https://man.mtool.work/python/3.14/library/runpy.html
- cmath --- 複素数用の数学関数 7573
- cmath --- 複素数用の数学関数 このモジュールは、複素数を扱う数学関数へのアクセスを提供しています。 このモジュール中の関数は整数、浮動小数点数または複素数を引数にとります。 また、 __complex__() または __float__() どちらかのメソッドを提供してい
...rsion 3.6. cmath. nanj 実部がゼロ、虚部が NaN の複素数です。 complex(0.0, float('nan')) と等価です。 Added in version 3.6. Note that the selection of functions is similar, but not identical, to that in module math . The reason for having two modules...don't even know what they are. They would rather have math.sqrt(-1) raise an exception than return a complex number. Also note that the functions defined in cmath always return a complex number, even if the answer can be expressed as a real number (... - https://man.mtool.work/python/3.14/library/cmath.html