per page, with , order by , clip by
Results of 1 - 10 of about 19 for wchar (0.010 sec.)
Python 初期化設定 13574
Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr ... し、ゼロ以外の終了コードで プロセスを終了する */ Py_ExitStatusException ( status ); } PyWideStringList type PyWideStringList wchar_t* 文字列のリスト。 length が非ゼロの場合は、 items は非 NULL かつすべての文字列は非 NULL でなければなりません。 メソッド: ... PyStatus PyWideStringList_Append ( PyWideStringList * list , const wchar_t * item ) item を list に追加します。 呼び出す前に、Python を事前初期化しておく必要があります。 PyStatus PyWideStringList ... _Insert ( PyWideStringList * list , Py_ssize_t index , const wchar_t * item ) item を list の index の位置に挿入します。 index が list の長さ以上の場合、 item を list の末尾に追加します。 i ...
https://man.mtool.work/python/3.14/c-api/init_config.html
インタープリタの初期化と終了処理 11235
インタープリタの初期化と終了処理 初期化前にインタープリタを設定する方法の詳細は、 Python の初期化設定 を参照してください。 Python の初期化前 Python を組み込むアプリケーションでは、一部の関数と グローバルな設定変数 を除き、ほかの Python/C AP ... のアプリケーションは、テキストのデコードを CPython ランタイムに任せられます。 Added in version 3.8. int Py_Main ( int argc , wchar_t * * argv ) 次に属します: Stable ABI . 標準インタープリタのメインプログラムです。 初期化から終了処理までの一連の処理に加え ... 。 argc と argv 引数は、C プログラムの main() 関数に渡すものに似ていますが、 argv の各要素をあらかじめ Py_DecodeLocale() で wchar_t に変換する点が異なります。 引数リストの各要素が、渡された文字列とは別の文字列を指すように変更される可能性があることにも注 ... code in the CPython ecosystem to use those with error handling. プロセスワイドのパラメータ void Py_SetProgramName ( const wchar_t * name ) 次に属します: Stable ABI . この API は後方互換性のために残されています。 代わりに PyConfig.program_name を設定し ...
https://man.mtool.work/python/3.14/c-api/interp-lifecycle.html
Unicode オブジェクトと codec 11235
Unicode オブジェクトと codec Unicode オブジェクト Python 3.3 で PEP 393 が実装されて以来、Unicode オブジェクトは内部で複数の表現形式を使っています。 これにより、メモリ効率を維持しながら Unicode 文字の全範囲を扱えます。 すべてのコードポイント ... TE_KIND PyUnicode_4BYTE_KIND PyUnicode_KIND() マクロの返り値です。 Added in version 3.3. バージョン 3.12 で変更: PyUnicode_WCHAR_KIND は削除されました。 int PyUnicode_KIND ( PyObject * unicode ) この Unicode がデータを保存するのに1文字あたり何バイト使 ... j intmax_t または uintmax_t z size_t または ssize_t t ptrdiff_t 変換 s または V に付ける長さ修飾子 l は、引数の型が const wchar_t * であることを指定します。 変換指定子を以下に示します: 変換指定子 型 備考 % n/a 文字 % そのもの。 d , i 長さ修飾子で指定 ... 16 進表現 (小文字)。 X 長さ修飾子で指定 符号なし C 整数の 16 進表現 (大文字)。 c int 1 文字。 s const char * または const wchar_t * null で終端された C の文字列。 p const void * C ポインタの 16 進表記。 printf("%p") とほとんど同じですが、プラットフォ ...
https://man.mtool.work/python/3.14/c-api/unicode.html
ctypes --- Python 用の外部関数ライブラリ 10381
ctypes --- Python 用の外部関数ライブラリ ソースコード: Lib/ctypes ctypes は Python 用の外部関数ライブラリです。 C と互換性のあるデータ型を提供し、DLL や共有ライブラリの関数を呼び出せます。 これらのライブラリを純粋な Python でラップするために ... C の NULL ポインタとして渡され、バイト列オブジェクトと文字列は、データを格納するメモリブロックへのポインタ ( char * または wchar_t * ) として渡されます。 Python の整数は、プラットフォームのデフォルトの C int 型として渡され、その C 型に収まるよう値がマ ... ータ型をいくつも定義しています: ctypes の型 C の型 Python の型 _type_ c_bool _Bool bool '?' c_char char 1 文字の bytes 'c' c_wchar wchar_t 1 文字の str 'u' c_byte char int 'b' c_ubyte unsigned char int 'B' c_short short int 'h' c_ushort unsigned short i ... loat 'f' c_double double float 'd' c_longdouble long double float 'g' * c_char_p char * (NUL 終端) bytes または None 'z' c_wchar_p wchar_t * (NUL 終端) str または None 'Z' c_void_p void * int または None 'P' py_object PyObject * object 'O' VARIANT_BOO ...
https://man.mtool.work/python/3.14/library/ctypes.html
array --- 効率的な数値配列 8571
array --- 効率的な数値配列 This module defines an object type which can compactly represent an array of basic values: characters, integers, floating-point numbers. Arrays are mutable sequence types and behave very much like lists, except th ... es are defined: 型コード C の型 Python の型 最小サイズ (バイト単位) 注釈 'b' signed char int 1 'B' unsigned char int 1 'u' wchar_t Unicode 文字 2 (1) 'w' Py_UCS4 Unicode 文字 4 (2) 'h' signed short int 2 'H' unsigned short int 2 'i' signed int int 2 ' ... って、16 ビットの場合と 32 ビットの場合があります。 バージョン 3.9 で変更: array('u') の C の型は、非推奨の Py_UNICODE から wchar_t に変更されました。 Python 3.3 以降、 Py_UNICODE は wchar_t の別名なので、この変更による動作の違いはありません。 バージョ ...
https://man.mtool.work/python/3.14/library/array.html
引数の解釈と値の構築 7940
引数の解釈と値の構築 これらの関数は、独自の拡張関数やメソッドを作成するときに便利です。 追加の情報や例は Python インタプリタの拡張と埋め込み を参照してください。 最初に説明する 3 つの関数、 PyArg_ParseTuple() , PyArg_ParseTupleAndKeywords() ... は None ) [const char *] s と同じです。 z# ( str または None ) [const char *, Py_ssize_t ] s# と同じです。 u ( str ) [const wchar_t *] null 終端された Unicode (UTF-16 または UCS-4) データの wchar_t バッファから Python Unicode オブジェクトに変換します。 ... Unicode バッファポインタが NULL の場合、 None になります。 u# ( str ) [const wchar_t *, Py_ssize_t ] Unicode (UTF-16 または UCS-4) データのバッファとその長さから Python Unicode オブジェクトに変換します。 U ...
https://man.mtool.work/python/3.14/c-api/arg.html
Python 3.16 で削除予定 7940
Python 3.16 で削除予定 インポートシステム: モジュールの __spec__.loader を設定せずに __loader__ を設定することは非推奨です。 Python 3.16 では、インポートシステムや標準ライブラリは __loader__ を設定しなくなり、その値も参照しなくなります。 ar ... ray : 書式コード 'u' ( wchar_t ) は、Python 3.3 からドキュメントで非推奨とされ、Python 3.13 からは実行時にも非推奨とされています。 Unicode 文字には、代 ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.16.html
具象オブジェクト (concrete object) レイヤ 7820
具象オブジェクト (concrete object) レイヤ この章では、特定の Python オブジェクト型固有の関数について述べています。これらの関数に間違った型のオブジェクトを渡すのは良い考えではありません; Python プログラムから何らかのオブジェクトを受け取ったと ... Unicode 型 Unicode 文字プロパティ Unicode 文字列の生成とアクセス ロケールエンコーディング ファイルシステムエンコーディング wchar_t サポート 組み込み codec (built-in codec) 汎用 codec UTF-8 Codecs UTF-32 Codecs UTF-16 Codecs UTF-7 Codecs Unicode-Escape ...
https://man.mtool.work/python/3.14/c-api/concrete.html
オペレーティングシステム関連のユーティリティ 7820
オペレーティングシステム関連のユーティリティ PyObject * PyOS_FSPath ( PyObject * path ) 戻り値: 新しい参照。 次に属します: Stable ABI (バージョン 3.6 より). path のファイルシステム表現を返します。 オブジェクトが str または bytes の場合は、新 ... ラは呼び出しません。 この関数は非同期シグナルセーフで、失敗しません。 呼び出し元には アタッチされたスレッド状態 が必要です。 wchar_t * Py_DecodeLocale ( const char * arg , size_t * size ) 次に属します: Stable ABI (バージョン 3.7 より). 警告 この関数は直 ... ndows_fs_encoding がゼロの場合、Windows では UTF-8 エンコーディングを使うようになりました。 char * Py_EncodeLocale ( const wchar_t * text , size_t * error_pos ) 次に属します: Stable ABI (バージョン 3.7 より). ワイドキャラクター文字列を ファイルシステム ...
https://man.mtool.work/python/3.14/c-api/sys.html
Python 3.15 で削除予定 7820
Python 3.15 で削除予定 The PyImport_ImportModuleNoBlock() : Use PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_G ... etRef() on Python 3.12 and older. Py_UNICODE type and the Py_UNICODE_WIDE macro: Use wchar_t instead. PyUnicode_AsDecodedObject() :代わりに PyCodec_Decode() を使ってください。 PyUnicode_AsDecodedUnicode() :代わりに ...
https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.15.ht...
PREV 1 2 NEXT