Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 17 for PyUnicode (0.006 sec.)
- Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 14259
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
..." unicode オブジェクトは、非推奨の API (たいていは PyUnicode_FromUnicode() ) で作成されたオブジェクトで、 Py_UN...ん; 他の API を呼び出す前に、このオブジェクトに対し PyUnicode_READY() を呼び出す必要があるでしょう。 Unicode 型...いました。 PyASCIIObject ¶ PyCompactUnicodeObject ¶ PyUnicodeObject ¶ これらの PyObject のサブタイプは Python Un...ではありません。 バージョン 3.3 で追加. PyTypeObject PyUnicode_Type ¶ この PyTypeObject のインスタンスは、Python... - https://man.plustar.jp/python/c-api/unicode.html - [similar]
- What's New In Python 3.3 — Python 3.6.5 ドキュメント 11966
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...六進で 0x10FFFF ) です。後方互換性のために C API の PyUnicode_GetMax() 関数は今でも 0xFFFF か 0x10FFFF のどちらか...加された新たな Unicode 型、マクロ、関数: 高水準 API: PyUnicode_CopyCharacters() PyUnicode_FindChar() PyUnicode_Ge...tLength() , PyUnicode_GET_LENGTH PyUnicode_New() PyUnicode_Substring() P...yUnicode_ReadChar() , PyUnicode_WriteChar() 低水準 API: 型 Py_UCS1 , Py_UCS2 , Py_... - https://man.plustar.jp/python/whatsnew/3.3.html - [similar]
- 2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 9000
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...type , 0 ); if ( self != NULL ) { self -> first = PyUnicode_FromString ( "" ); if ( self -> first == NULL ) {...Py_DECREF ( self ); return NULL ; } self -> last = PyUnicode_FromString ( "" ); if ( self -> last == NULL ) { P..._AttributeError , "last" ); return NULL ; } return PyUnicode_FromFormat ( "%S %S" , self -> first , self -> las...type , 0 ); if ( self != NULL ) { self -> first = PyUnicode_FromString ( "" ); if ( self -> first == NULL ) {... - https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
- Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 8569
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth
...hon 2 の unicode() と同じもので、どちらも C 関数は PyUnicode_* と呼ばれます。昔の 8 ビット文字列タイプは bytes(...ています。Python 3 との互換性を最大限確保するには、 PyUnicode は文字データに、 PyBytes はバイナリデータにだけ使う...べきです。ほかにも、Python 3 の PyBytes と PyUnicode は Python 2 の PyString と PyUnicode とは違って交換...不可能だということも重要です。以下の例では PyUnicode , PyString , PyBytes に関するベストプラクティスを見... - https://man.plustar.jp/python/howto/cporting.html - [similar]
- オペレーティングシステム関連のユーティリティ — Python 3.6.5 ドキュメント 8414
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...すには Py_EncodeLocale() 関数を使ってください。 参考 PyUnicode_DecodeFSDefaultAndSize() および PyUnicode_DecodeLo...すには Py_DecodeLocale() 関数を使ってください。 参考 PyUnicode_EncodeFSDefault() および PyUnicode_EncodeLocale()...t , ... ) ¶ PySys_WriteStdout() に似た関数ですが、 PyUnicode_FromFormatV() を使ってメッセージをフォーマットし、... - https://man.plustar.jp/python/c-api/sys.html - [similar]
- 引数の解釈と値の構築 — Python 3.6.5 ドキュメント 8086
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...変換したい場合は、 O& フォーマットを、 converter に PyUnicode_FSConverter() を指定して利用すると良いです。 バージ...old-style Py_UNICODE API; please migrate to using PyUnicode_AsWideCharString() . u# ( str ) [Py_UNICODE *, int...old-style Py_UNICODE API; please migrate to using PyUnicode_AsWideCharString() . Z ( str または None ) [Py_UNI...old-style Py_UNICODE API; please migrate to using PyUnicode_AsWideCharString() . Z# ( str または None ) [Py_UN... - https://man.plustar.jp/python/c-api/arg.html - [similar]
- What's New In Python 3.6 — Python 3.6.5 ドキュメント 8052
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
.... (Contributed by Brett Cannon in bpo-27186 .) The PyUnicode_FSConverter() and PyUnicode_FSDecoder() functions...の非推奨の関数ならびに型 ¶ Undocumented functions PyUnicode_AsEncodedObject() , PyUnicode_AsDecodedObject() ,...PyUnicode_AsEncodedUnicode() and PyUnicode_AsDecodedUnicode() are deprecated now. Use the gen... - https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
- 1. 他のアプリケーションへの Python の埋め込み — Python 3.6.5 ドキュメント 8017
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...gs] \n " ); return 1 ; } Py_Initialize (); pName = PyUnicode_DecodeFSDefault ( argv [ 1 ]); /* Error checking o...コードから始まる部分です: Py_Initialize (); pName = PyUnicode_DecodeFSDefault ( argv [ 1 ]); /* Error checking o...n 文字列を引数に取る必要があり、データ変換ルーチン PyUnicode_FromString() で構築します。 pFunc = PyObject_GetAt... - https://man.plustar.jp/python/extending/embedding.html - [similar]
- 整数型オブジェクト (integer object) — Python 3.6.5 ドキュメント 7948
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...列を Python 整数値に変換します。Unicode 文字列はまず PyUnicode_EncodeDecimal() を用いてバイト文字列にエンコードさ...列を Python 整数値に変換します。Unicode 文字列はまず PyUnicode_EncodeDecimal() を用いてバイト文字列にエンコードさ... - https://man.plustar.jp/python/c-api/long.html - [similar]
- 3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 7948
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ
...datatype_repr ( newdatatypeobject * obj ) { return PyUnicode_FromFormat ( "Repr-ified_newdatatype{{size:%d}}" ,...wdatatype_str ( newdatatypeobject * obj ) { return PyUnicode_FromFormat ( "Stringified_newdatatype{{size:%d}}"...g1 , & arg2 , & arg3 )) { return NULL ; } result = PyUnicode_FromFormat ( "Returning -- value: [%d] arg1: [%s]... - https://man.plustar.jp/python/extending/newtypes.html - [similar]
