per page, with , order by , clip by
Results of 1 - 10 of about 37 for Codecs (0.008 sec.)
codecs --- codec レジストリと基底クラス 16070
codecs --- codec レジストリと基底クラス ソースコード: Lib/codecs.py このモジュールは、標準的な Python codec (エンコーダとデコーダ) 用の基底クラスを定義し、codec とエラー処理検索プロセスを管理する内部の Python codec レジストリへのアクセスを提 ... のみに制限されています。 このモジュールでは、任意の codec でエンコードやデコードを行うための、以下の関数が定義されています。 codecs. encode ( obj , encoding = 'utf-8' , errors = 'strict' ) encoding に記載された codec を使用して obj をエンコードします。 希 ... 有のサブクラス) を送出することを意味します。codec エラー処理についてのより詳しい情報は Codec 基底クラス を参照してください。 codecs. decode ( obj , encoding = 'utf-8' , errors = 'strict' ) encoding に記載された codec を使用して obj をデコードします。 希望 ... 有のサブクラス) を送出することを意味します。codec エラー処理についてのより詳しい情報は Codec 基底クラス を参照してください。 codecs. charmap_build ( string ) 独自の 1 バイトエンコーディングでのエンコードに適したマッピングを返します。 デコード用のテーブル ...
https://man.mtool.work/python/3.14/library/codecs.html
具象オブジェクト (concrete object) レイヤ 11650
具象オブジェクト (concrete object) レイヤ この章では、特定の Python オブジェクト型固有の関数について述べています。これらの関数に間違った型のオブジェクトを渡すのは良い考えではありません; Python プログラムから何らかのオブジェクトを受け取ったと ... ロケールエンコーディング ファイルシステムエンコーディング wchar_t サポート 組み込み codec (built-in codec) 汎用 codec UTF-8 Codecs UTF-32 Codecs UTF-16 Codecs UTF-7 Codecs Unicode-Escape Codecs Raw-Unicode-Escape Codecs Latin-1 Codecs ASCII Codecs Chara ... cter Map Codecs Windows 用の MBCS codec メソッドおよびスロット関数 (slot function) PyUnicodeWriter 非推奨の API タプルオブジェクト (tuple ...
https://man.mtool.work/python/3.14/c-api/concrete.html
uu --- uuencode ファイルのエンコードとデコード 9013
uu --- uuencode ファイルのエンコードとデコード バージョン 3.11 で非推奨、バージョン 3.13 で削除. このモジュールは今や Python 標準ライブラリの一部ではありません。このモジュールは Python 3.11 で非推奨となったあと、 Python 3.13 で削除 されまし ... た。削除の決定は PEP 594 でなされました。 代わりに、エンコーディングに "uu" を指定して codecs.encode() と codecs.decode() を使うことで、uu 形式のエンコードとデコードを行えます。 uu モジュールが提供されていた最後のバー ...
https://man.mtool.work/python/3.14/library/uu.html
Unicode HOWTO 8540
Unicode HOWTO Release : 1.12 この HOWTO 文書は、文字データの表現のための Unicode 仕様の Python におけるサポートについて論じ、さらに Unicode を使おうというときによく出喰わす多くの問題について説明します。 Unicode 入門 定義 今日のプログラムは広 ... eplace' ) b'\\N{YI SYLLABLE IT}abcd\\u07b4' 利用可能なエンコーディングを登録したり、アクセスしたりする低レベルのルーチンは codecs モジュールにあります。新しいエンコーディングを実装するには、 codecs モジュールを理解していることも必要になります。しかし、 ... ライブラリリファレンスの テキストシーケンス型 --- str で解説されています。 unicodedata モジュールについてのドキュメント。 codecs モジュールについてのドキュメント。 Marc-André Lemburg は EuroPython 2002 で "Python and Unicode" というタイトルのプレゼンテ ... ば、Latin-1 の入力ファイル f を StreamRecoder でラップすると、UTF-8 でエンコードされたバイト列を返すようにできます。 new_f = codecs . StreamRecoder ( f , # エンコーダー/デコーダー: read() の結果のエンコードと # write() の入力のデコードに使う。 codecs . g ...
https://man.mtool.work/python/3.14/howto/unicode.html
What's New In Python 3.4 8540
What's New In Python 3.4 著者 : R. David Murray < rdmurray @ bitdance . com > (編集者) この記事では 3.3 と比較した Python 3.4 の新機能を解説します。 Python 3.4 は2014年3月16日にリリースされました。全詳細については 変更履歴 をご覧ください。 ... たファイル記述子を継承不可にする PEP written and implemented by Victor Stinner. Codec 処理の改良 その最初の導入からずっと、 codecs モジュールとはいつなんどきも、型に中立で動的なエンコーディング・デコーディングシステムとして働くものであったのです。そうな ... 歴史的にその本来の意図を曖昧にしてきたのでした。 そんな状況を清く正しくするための重要な一歩として、今ではコンビニエンス関数 codecs.encode() , codecs.decode() が Python 2.7、3.3、3.4 で適切にドキュメントされました。これら関数は codecs モジュールに Python ... では Unicode テキストエンコーディングに制限され、Python 2 では basestring <-> basestring 変換に制限されるのとは違うのです。 codecs のコンビニエンス関数は Python 2 と Python 3 の両方で任意のコーデックをサポートするのです。 Python 3.4 では、インタプリタは ...
https://man.mtool.work/python/3.14/whatsnew/3.4.html
Unicode オブジェクトと codec 8382
Unicode オブジェクトと codec Unicode オブジェクト Python 3.3 で PEP 393 が実装されて以来、Unicode オブジェクトは内部で複数の表現形式を使っています。 これにより、メモリ効率を維持しながら Unicode 文字の全範囲を扱えます。 すべてのコードポイント ... 用する codec の検索は、 Python の codec レジストリを使って行います。 codec が例外を送出した場合には NULL を返します。 UTF-8 Codecs 以下は UTF-8 codec の APIです: PyObject * PyUnicode_DecodeUTF8 ( const char * str , Py_ssize_t size , const char * errors ... を推奨します。 Added in version 3.3. バージョン 3.7 で変更: 戻り値の型が char * から const char * に変更されました。 UTF-32 Codecs 以下は UTF-32 codec API です: PyObject * PyUnicode_DecodeUTF32 ( const char * str , Py_ssize_t size , const char * errors ... 字列は常に BOM マークで始まります。 エラーハンドラは "strict" です。 codec が例外を発生させたときは NULL を返します。 UTF-16 Codecs 以下は UTF-16 codec の APIです: PyObject * PyUnicode_DecodeUTF16 ( const char * str , Py_ssize_t size , const char * error ...
https://man.mtool.work/python/3.14/c-api/unicode.html
将来のバージョンで削除予定 7924
将来のバージョンで削除予定 以下の API は将来削除されますが、現時点では削除時期は決まっていません。 argparse : 引数グループの入れ子と、相互排他的なグループの入れ子は非推奨です。 add_argument_group() に、ドキュメント化されていないキーワード引 ... は非推奨となり、 calendar.JANUARY と calendar.FEBRUARY に置き換えられました。 (Prince Roshan が gh-103636 で貢献しました。) codecs : codecs.open() の代わりに open() を使ってください。 ( gh-133038 ) codeobject.co_lnotab : use the codeobject.co_lines() me ...
https://man.mtool.work/python/3.14/deprecations/pending-removal-in-future.html
変更履歴 7924
変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T ... t follows another stream, instead of silently ignoring it and everything after it as trailing data. gh-159739 : Fix the hz codec sometimes encoding ~ as a single ~ in text that mixes ASCII and Chinese characters, and the incremental iso2022_* codecs mi ... ss calls or keeping the previous character set after reset() . Also fix possible crashes in the CJK incremental and stream codecs when their errors attribute or their class's codec attribute is replaced while they are in use. gh-160310 : Fix quadratic ... a consisting of many concatenated members. gh-160522 : Fix the incremental encoders and stream writers of the stateful CJK codecs ( iso2022_* and hz ) keeping a changed shift state after an encode() or write() call failed. The next call could omit the ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
非推奨 7766
非推奨 Python 3.15 で削除予定 インポートシステム: Setting __cached__ on a module while failing to set __spec__.cached is deprecated. In Python 3.15, __cached__ will cease to be set or take into consideration by the import system or standard ... は非推奨となり、 calendar.JANUARY と calendar.FEBRUARY に置き換えられました。 (Prince Roshan が gh-103636 で貢献しました。) codecs : codecs.open() の代わりに open() を使ってください。 ( gh-133038 ) codeobject.co_lnotab : use the codeobject.co_lines() me ... :代わりに PyCodec_Encode() を使ってください。 PyUnicode_AsEncodedUnicode() : Use PyCodec_Encode() instead; Note that some codecs (for example, "base64") may return a type other than bytes , such as str . Python 3.13 で非推奨となった Python 初期化関数: ...
https://man.mtool.work/python/3.14/deprecations/
バイナリデータ処理 7766
バイナリデータ処理 この章で紹介されているモジュールはバイナリデータを扱うための基本的な処理を提供しています。ファイルフォーマットやネットワークプロトコルなど、その他のバイナリデータ処理については、それぞれの節で解説されています。 テキスト処 ... 例外 書式文字列 バイトオーダ、サイズ、アラインメント 書式指定文字 使用例 アプリケーション ネイティブの形式 標準の形式 クラス codecs --- codec レジストリと基底クラス Codec 基底クラス エラーハンドラ ステートレスなエンコードとデコード インクリメンタルなエン ...
https://man.mtool.work/python/3.14/library/binary.html
PREV 1 2 3 4 NEXT