per page, with , order by , clip by
Results of 1 - 10 of about 143 for code (0.002 sec.)
stringprep --- インターネットの文字列調製 15330
stringprep --- インターネットの文字列調製 ソースコード: Lib/stringprep.py (ホスト名のような) インターネット上にある存在に識別名をつける際、しばしば識別名間の "等価性" 比較を行う必要があります。厳密には、例えば大小文字の区別をするかしないかい ... 可するといったように、可能な識別名を制限することも必要となるかもしれません。 RFC 3454 では、インターネットプロトコル上で Unicode 文字列を "調製 (prepare)" するためのプロシジャを定義しています。文字列は通信路に載せられる前に調製プロシジャで処理され、そ ... モジュールは RFC 3454 のテーブルだけを公開します。 これらのテーブルを辞書やリストで表すと非常に大きくなるため、内部では Unicode 文字データベースを使っています。 モジュールのソースコード自体は mkstringprep.py ユーティリティで生成されました。 そのため、 ... 、キーを受け取って対応する値を返す関数を提供します。 以下にモジュール内のすべての関数を示します。 stringprep. in_table_a1 ( code ) code がテーブル A.1 (Unicode 3.2 における未割り当てコードポイント: unassigned code point) かどうか判定します。 stringpre ...
https://man.mtool.work/python/3.14/library/stringprep.html
コードオブジェクト 12403
コードオブジェクト コードオブジェクト(Code objects)は CPython 実装の低レベルな詳細部分です。各オブジェクトは関数に束縛されていない実行可能コードの塊を表現しています。 type PyCodeObject コードオブジェクトを表現するために利用されるC構造体。こ ... の型のフィールドは何時でも変更され得ます。 PyTypeObject PyCode_Type Python の コードオブジェクト を表す PyTypeObject のインスタンスです。 int PyCode_Check ( PyObject * co ) co が コード ... オブジェクト の場合に真を返します。 この関数は常に成功します。 Py_ssize_t PyCode_GetNumFree ( PyCodeObject * co ) コードオブジェクト内の 自由変数 (クロージャ変数) の数を返します。 int PyUnstable_Code_Get ... FirstFree ( PyCodeObject * co ) これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 コードオブジェクト内の最初の 自 ...
https://man.mtool.work/python/3.14/c-api/code.html
marshal --- 内部使用向けの Python オブジェクト直列化 10271
marshal --- 内部使用向けの Python オブジェクト直列化 このモジュールは、Python の値をバイナリ形式で読み書きする関数を提供します。 この形式は Python 固有ですが、マシンのアーキテクチャには依存しません (例えば PC で Python の値をファイルに書き込 ... mselves supported. Recursive containers are supported since version 3. シングルトンの None 、 Ellipsis 、 StopIteration 。 code objects, if allow_code is true. See note above about version dependence. バージョン 3.4 で変更: 再帰的なリスト、集合、辞書 ... ました。 このモジュールでは、以下の関数が定義されています。 marshal. dump ( value , file , version = version , / , * , allow_code = True ) 開かれたファイルに値を書き込みます。値はサポートされている型でなくてはなりません。file は書き込み可能な バイナリフ ... が、不正なデータもファイルに書き込まれます。 このオブジェクトは load() で正しく読み戻せません。 コードオブジェクト は allow_code が真の場合にのみサポートされます。 version 引数は dump が使用するデータフォーマットを指定します (下記を参照してください)。 ...
https://man.mtool.work/python/3.14/library/marshal.html
sys.monitoring --- 実行イベントモニタリング 8387
sys.monitoring --- 実行イベントモニタリング Added in version 3.12. 注釈 sys.monitoring は sys モジュール内の名前空間で、独立したモジュールではありません。 import sys.monitoring は ModuleNotFoundError で失敗します。 代わりに import sys を実行 ... ます。 デフォルトでは、有効なイベントはありません。 コードオブジェクトごとのイベント Events can also be controlled on a per code object basis. The functions defined below which accept a types.CodeType should be prepared to accept a look-alike object f ... om functions which are not defined in Python (see モニタリング C API ). sys.monitoring. get_local_events ( tool_id : int , code : CodeType , / ) → int code のすべての ローカルイベント を返します。 sys.monitoring. set_local_events ( tool_id : int , co ... de : CodeType , event_set : int , / ) → None event_set に指定された、 code のすべての ローカルイベント を有効にします。 tool_id が使 ...
https://man.mtool.work/python/3.14/library/sys.monitoring.html
Pythonモジュール索引 7807
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... ata Encodings; Base85 and Ascii85 bdb Debugger framework. binascii Tools for converting between binary and various ASCII-encoded binary representations. bisect Array bisection algorithms for binary searching. builtins The module that provides the bui ... k 非推奨: Removed in 3.13. cmath Mathematical functions for complex numbers. cmd Build line-oriented command interpreters. code Facilities to implement read-eval-print loops. codecs Encode and decode data and streams. codeop Compile (possibly incompl ... ete) Python code. collections Container datatypes collections.abc Abstract base classes for containers colorsys Conversion functions betwee ...
https://man.mtool.work/python/3.14/py-modindex.html
6. Android で Python を使う 7617
6. Android で Python を使う Android における Pythonは、デスクトッププラットフォームにおける Python とは異なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューターのどのユーザーでも使えるシステムリソースとしてインストール ... ourself, follow the instructions in Android/README.md . The prefix directory will be created under cross-build/ HOST . Add code to your build.gradle file to copy the following items into your project. All except your own Python code can be copied fro ... ラリ) アセットにコピーするもの: python*.* (Python 標準ライブラリ) python*.*/site-packages (自分で作成した Python コード) Add code to your app to extract the assets to the filesystem . Add code to your app to start Python in embedded mode . This will ne ... ed to be C code called via JNI. 6.2. Android 向けの Python パッケージをビルドする Python パッケージは Android 向けの wheel としてビルドし、 ...
https://man.mtool.work/python/3.14/using/android.html
http.server --- HTTP サーバー 7546
http.server --- HTTP サーバー ソースコード: Lib/http/server.py このモジュールは HTTP サーバを実装するためのクラスを提供しています。 警告 http.server は本番環境での利用には推奨しません。 基本的なセキュリティチェック だけを実装しています。 利 ... この属性は、整数のエラーコードから、短いメッセージと長いメッセージを含む 2 要素タプルへのマッピングを保持します。 例えば {code: (shortmessage, longmessage)} です。 通常、 shortmessage はエラーレスポンスの message キー、 longmessage は explain キーと ... レスポンスヘッダーとして 417 Expectation Failed を送信し、 return False を実行できます。 Added in version 3.2. send_error ( code , message = None , explain = None ) 完全なエラー応答をクライアントに送信し、ログに記録します。 数値の code は HTTP エラーコ ... で変更: エラーレスポンスに Content-Length ヘッダーを含めるようになりました。 explain 引数を追加しました。 send_response ( code , message = None ) レスポンスヘッダーをヘッダーバッファーに追加し、受け付けたリクエストをログに記録します。 HTTP レスポンス ...
https://man.mtool.work/python/3.14/library/http.server.html
code --- インタープリター基底クラス 7487
code --- インタープリター基底クラス ソースコード: Lib/code.py code モジュールはread-eval-print (読み込み-評価-表示)ループをPythonで実装するための機能を提供します。対話的なインタプリタプロンプトを提供するアプリケーションを作るために使える二つ ... のクラスと便利な関数が含まれています。 class code. InteractiveInterpreter ( locals = None ) このクラスは構文解析とインタープリター状態(ユーザの名前空間)を取り扱います。入力 ... で指定した名前空間に属します。 これらを pickle 化できるのは、 locals が既存のモジュールの名前空間である場合だけです。 class code. InteractiveConsole ( locals = None , filename = '<console>' , local_exit = False ) Python の対話型インタープリターの振る舞 ... は SystemExit を送出せず、代わりに呼び出し元のコードに戻ります。 バージョン 3.13 で変更: local_exit 引数が追加されました。 code. interact ( banner = None , readfunc = None , local = None , exitmsg = None , local_exit = False ) read-eval-print ループを ...
https://man.mtool.work/python/3.14/library/code.html
perf map のサポート 7357
perf map のサポート On supported platforms (as of this writing, only Linux), the runtime can take advantage of perf map files to make Python functions visible to an external profiling tool (such as perf ). A running process may create a fil ... e in the /tmp directory, which contains entries that can map a section of executable code to a name. This interface is described in the documentation of the Linux Perf tool . Python では、実行中に機械語コードを生 ... 成に失敗すると -2 を返します。 失敗の原因の詳細は errno を確認してください。 int PyUnstable_WritePerfMapEntry ( const void * code_addr , unsigned int code_size , const char * entry_name ) これは Unstable API です。マイナーリリースで予告なく変更されるこ ... s (currently only Linux). On other platforms, it does nothing. Added in version 3.13. int PyUnstable_PerfTrampoline_CompileCode ( PyCodeObject * code ) これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 現在の perf トランポ ...
https://man.mtool.work/python/3.14/c-api/perfmaps.html
監査イベント表 7155
監査イベント表 この表は、 CPython ランタイムと標準ライブラリ全体で sys.audit() または PySys_Audit() の呼び出しによって送出されるすべてのイベントを含んでいます。これらの呼び出しは、 3.8 以降に追加されました ( PEP 578 を参照) 。 これらのイベン ... 参照してください。 Audit event Arguments References _thread.start_new_thread function , args , kwargs [1] array.__new__ typecode , initializer [1] builtins.breakpoint breakpointhook [1] builtins.id id [1] builtins.input prompt [1] builtins.input/resul ... t result [1] code.__new__ code , filename , name , argcount , posonlyargcount , kwonlyargcount , nlocals , stacksize , flags [1] compile sou ... dress [1] ctypes.cdata/buffer pointer , size , offset [1] [2] ctypes.create_string_buffer init , size [1] ctypes.create_unicode_buffer init , size [1] ctypes.dlopen name [1] ctypes.dlsym library , name [1] ctypes.dlsym/handle handle , name [1] ctypes ...
https://man.mtool.work/python/3.14/library/audit_events.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT