per page, with , order by , clip by
Results of 1 - 10 of about 57 for TextIOWrapper (0.031 sec.)
Python 開発モード — Python 3.14.8 ドキュメント 12130
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » Python 開発モード テーマ 自動 ライト ダーク | Python 開発モード ¶ Added in version 3.7. The Python Development Mode in ... lays a ResourceWarning warning: $ python -X dev script.py README.txt 269 script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='UTF-8'> main() ResourceWarning: Enable tracemalloc to get the object allocation trace ... was opened: $ python -X dev -X tracemalloc = 5 script.py README.rst 269 script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='UTF-8'> main() Object allocated at (most recent call last): File "script.py", lineno ... ror when finalizing the file object: $ python -X dev script.py import os script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'> main() ResourceWarning: Enable tracemalloc to get the object allocation traceb ...
https://man.mtool.work/python/3.14/library/devmode.html
Python 開発モード — Python 3.14.8 ドキュメント 12130
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » Python 開発モード テーマ 自動 ライト ダーク | Python 開発モード ¶ Added in version 3.7. The Python Development Mode in ... lays a ResourceWarning warning: $ python -X dev script.py README.txt 269 script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='UTF-8'> main() ResourceWarning: Enable tracemalloc to get the object allocation trace ... was opened: $ python -X dev -X tracemalloc = 5 script.py README.rst 269 script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='UTF-8'> main() Object allocated at (most recent call last): File "script.py", lineno ... ror when finalizing the file object: $ python -X dev script.py import os script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'> main() ResourceWarning: Enable tracemalloc to get the object allocation traceb ...
https://man.mtool.work/python/3.14/library/devmode.html
io --- ストリームを扱うコアツール — Python 3.14.8 ドキュメント 12130
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » io --- ストリームを扱うコアツール テーマ 自動 ライト ダーク | io --- ストリームを扱うコアツー ... igh-level I/O objects like バイナリ I/O and テキスト I/O implement retry behavior. Text Encoding ¶ The default encoding of TextIOWrapper and open() is locale-specific ( locale.getencoding() ). However, many developers forget to specify the encoding when openi ... ble, which will emit an EncodingWarning when the default encoding is used. If you are providing an API that uses open() or TextIOWrapper and passes encoding=None as a parameter, you can use text_encoding() so that callers of the API will emit an EncodingWarni ... sion 3.8. io. text_encoding ( encoding , stacklevel = 2 , / ) ¶ This is a helper function for callables that use open() or TextIOWrapper and have an encoding=None parameter. This function returns encoding if it is not None . Otherwise, it returns "locale" or ...
https://man.mtool.work/python/3.14/library/io.html
io --- ストリームを扱うコアツール — Python 3.14.8 ドキュメント 11586
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » io --- ストリームを扱うコアツール テーマ 自動 ライト ダーク | io --- ストリームを扱うコアツー ... igh-level I/O objects like バイナリ I/O and テキスト I/O implement retry behavior. Text Encoding ¶ The default encoding of TextIOWrapper and open() is locale-specific ( locale.getencoding() ). However, many developers forget to specify the encoding when openi ... ble, which will emit an EncodingWarning when the default encoding is used. If you are providing an API that uses open() or TextIOWrapper and passes encoding=None as a parameter, you can use text_encoding() so that callers of the API will emit an EncodingWarni ... sion 3.8. io. text_encoding ( encoding , stacklevel = 2 , / ) ¶ This is a helper function for callables that use open() or TextIOWrapper and have an encoding=None parameter. This function returns encoding if it is not None . Otherwise, it returns "locale" or ...
https://man.mtool.work/python/3.14/library/io.html
zipfile --- ZIP アーカイブの処理 — Python 3.14.8 ドキュメント 9413
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » zipfile --- ZIP アーカイブの処理 テーマ 自動 ライト ダーク | zipfile --- ZIP アーカイブの処理 ¶ Source cod ... ZIP ファイルを読み込むときにそのメリットを享受できるでしょう。 バージョン 3.6 で変更: Removed support of mode='U' . Use io.TextIOWrapper for reading compressed text files in universal newlines mode. バージョン 3.6 で変更: ZipFile.open() can now be used to wri ... e, text or binary through supported modes: 'r', 'w', 'rb', 'wb'. Positional and keyword arguments are passed through to io.TextIOWrapper when opened as text and ignored otherwise. pwd is the pwd parameter to ZipFile.open() . バージョン 3.9 で変更: Added suppo ... ing a TypeError . As it could in 3.9. Code needing to be compatible with unpatched 3.10 and 3.11 versions must pass all io.TextIOWrapper arguments, encoding included, as keywords. Path. iterdir ( ) ¶ Enumerate the children of the current directory. Path. is_d ...
https://man.mtool.work/python/3.14/library/zipfile.html
zipfile --- ZIP アーカイブの処理 — Python 3.14.8 ドキュメント 9413
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » zipfile --- ZIP アーカイブの処理 テーマ 自動 ライト ダーク | zipfile --- ZIP アーカイブの処理 ¶ Source cod ... ZIP ファイルを読み込むときにそのメリットを享受できるでしょう。 バージョン 3.6 で変更: Removed support of mode='U' . Use io.TextIOWrapper for reading compressed text files in universal newlines mode. バージョン 3.6 で変更: ZipFile.open() can now be used to wri ... e, text or binary through supported modes: 'r', 'w', 'rb', 'wb'. Positional and keyword arguments are passed through to io.TextIOWrapper when opened as text and ignored otherwise. pwd is the pwd parameter to ZipFile.open() . バージョン 3.9 で変更: Added suppo ... ing a TypeError . As it could in 3.9. Code needing to be compatible with unpatched 3.10 and 3.11 versions must pass all io.TextIOWrapper arguments, encoding included, as keywords. Path. iterdir ( ) ¶ Enumerate the children of the current directory. Path. is_d ...
https://man.mtool.work/python/3.14/library/zipfile.html
変更履歴 — Python 3.14.8 ドキュメント 9134
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... tion is set via the decoder's setstate method. Patch by tonghuaroot. gh-153539 : Fix a crash in the C implementation of io.TextIOWrapper.tell() when the decoder's getstate method triggers a reentrant seek, or when another thread seeks the same stream concurre ... e , as returned by datetime.datetime.timetuple() . Contributed by Xiao Yuan. gh-151814 : Fix unbounded memory growth in io.TextIOWrapper when repeatedly writing an empty string. gh-151770 : Fix datetime.datetime.fromisoformat() raising AssertionError instead ... ze mismatches respectively, even when the target slice is empty. gh-143008 : Fix race conditions when re-initializing a io.TextIOWrapper object. gh-150750 : Fix a race condition in collections.deque.index() with free-threading. gh-150685 : Update bundled pip ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
gzip --- gzip ファイルのサポート — Python 3.14.8 ドキュメント 8047
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » gzip --- gzip ファイルのサポート テーマ 自動 ライト ダーク | gzip --- gzip ファイルのサポート ¶ ソースコー ... テキストモードでは、 GzipFile オブジェクトが作成され、指定されたエンコーディング、エラーハンドラの挙動、および改行文字で io.TextIOWrapper インスタンスにラップされます。 バージョン 3.3 で変更: filename にファイルオブジェクト指定のサポート、テキストモードのサポー ... は常にバイナリモードで開かれることに注意してください。圧縮ファイルをテキストモードで開く場合、 open() (または GzipFile を io.TextIOWrapper でラップしたオブジェクト) を使ってください。 引数 compresslevel は 0 から 9 の整数を取り、圧縮レベルを制御します; 1 は最も ...
https://man.mtool.work/python/3.14/library/gzip.html
gzip --- gzip ファイルのサポート — Python 3.14.8 ドキュメント 8047
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ圧縮とアーカイブ » gzip --- gzip ファイルのサポート テーマ 自動 ライト ダーク | gzip --- gzip ファイルのサポート ¶ ソースコー ... テキストモードでは、 GzipFile オブジェクトが作成され、指定されたエンコーディング、エラーハンドラの挙動、および改行文字で io.TextIOWrapper インスタンスにラップされます。 バージョン 3.3 で変更: filename にファイルオブジェクト指定のサポート、テキストモードのサポー ... は常にバイナリモードで開かれることに注意してください。圧縮ファイルをテキストモードで開く場合、 open() (または GzipFile を io.TextIOWrapper でラップしたオブジェクト) を使ってください。 引数 compresslevel は 0 から 9 の整数を取り、圧縮レベルを制御します; 1 は最も ...
https://man.mtool.work/python/3.14/library/gzip.html
subprocess --- サブプロセス管理 — Python 3.14.8 ドキュメント 7768
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » subprocess --- サブプロセス管理 テーマ 自動 ライト ダーク | subprocess --- サブプロセス管理 ¶ ソースコード: Lib/subproce ... ルオブジェクトはテキストモードでオープンされます。 その際には指定された encoding および errors が使われるか、デフォルトの io.TextIOWrapper になります。 universal_newlines 引数は text 引数と等価であり、後方互換性のために提供されています。そうでない場合、デフォル ... , stdout and stderr will be opened in text mode using the encoding and errors specified in the call or the defaults for io.TextIOWrapper . stdin については、入力での行末文字 '\n' はデフォルトの行セパレーター os.linesep に変換されます。 stdout と stderr につい ... ては、出力での行末はすべて '\n' に変換されます。詳細は io.TextIOWrapper クラスのドキュメントでコンストラクターの引数 newline が None である場合を参照してください。 If text mode is not used, stdi ...
https://man.mtool.work/python/3.14/library/subprocess.html
PREV 1 2 3 4 5 6 NEXT