Results of 1 - 10 of about 30 for tarfile (0.010 sec.)
- tarfile --- tar アーカイブファイルの読み書き 16717
- tarfile --- tar アーカイブファイルの読み書き ソースコード: Lib/tarfile.py tarfile モジュールを使うと、gzip、bz2、lzma で圧縮されたものを含め、tar アーカイブを読み書きできます。 .zip ファイルの読み書きには zipfile モジュールか、 shutil の高水
...ully_trusted と同等でした。 バージョン 3.14 で変更: compression.zstd による Zstandard 圧縮をサポートするようになりました。 tarfile. open ( name = None , mode = 'r' , fileobj = None , bufsize = 10240 , ** kwargs ) パス名 name の TarFile オブジェクトを返し...ます。 TarFile オブジェクトと、利用できるキーワード引数に関する詳細な情報については、 TarFile オブジェクト 節を参照してください。 mode は...'r:xz' lzma 圧縮で読み込み用にオープンします。 'r:zst' Zstandard 圧縮で読み込み用にオープンします。 'x' or 'x:' 圧縮せずに tarfile を排他的に作成します。tarfile が既存の場合 FileExistsError 例外を送出します。 'x:gz' gzip 圧縮で tarfile を作成します。tar... - https://man.mtool.work/python/3.14/library/tarfile.html
- 変更履歴 8707
- 変更履歴 次の 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
...during the TLS handshake. asyncio.StreamWriter.wait_closed() no longer waits forever after such a failure. gh-160297 : Fix tarfile.TarFile.extractall() and tarfile.TarFile.extract() changing the mode, modification time and owner of a file outside the de...ribute without checking their domain against the request host. Such cookies are now ignored. CVE 2026-114583 , gh-160097 : tarfile.tar_filter() now rejects link members whose path resolves to the destination directory itself, as tarfile.data_filter() al...a race condition when looking up an OpenSSL hash algorithm by name the first time. Patch by Bénédikt Tran. gh-127636 : Fix tarfile.TarFile.extract() to accept archive member names with a trailing forward slash, including those returned by tarfile.TarFil... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- Python 3.16 で削除予定 8610
- Python 3.16 で削除予定 インポートシステム: モジュールの __spec__.loader を設定せずに __loader__ を設定することは非推奨です。 Python 3.16 では、インポートシステムや標準ライブラリは __loader__ を設定しなくなり、その値も参照しなくなります。 ar
...g.expand_makefile_vars() 関数は Python 3.14 から非推奨です。 代わりに sysconfig.get_paths() の vars 引数を使ってください。 tarfile : ドキュメント化されておらず、使われてもいない TarFile.tarfile 属性は Python 3.13 から非推奨です。 他のマニュアルの関連ペー... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-3.16.html
- データ圧縮とアーカイブ 8399
- データ圧縮とアーカイブ この章のモジュールは、zlib、gzip、bzip2、lzma、zstd アルゴリズムによるデータ圧縮と、ZIP 形式・tar 形式のアーカイブ作成をサポートします。 shutil モジュールが提供する アーカイブ化操作 も参照してください。 compression パ
...マンドラインオプション 展開時の注意点 ファイル自体の問題 ファイルシステムの制限 リソースの制限 中断 展開時のデフォルトの動作 tarfile --- tar アーカイブファイルの読み書き TarFile オブジェクト TarInfo オブジェクト 展開フィルター 組み込みの名前付きフィルター... - https://man.mtool.work/python/3.14/library/archiving.html
- Python ドキュメントの目次 8188
- Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列
...rocessing operator os os.path pathlib pdb pickle platform pydoc re socket ssl struct symtable sys sys.monitoring sysconfig tarfile threading tkinter turtle types typing unicodedata unittest urllib uuid webbrowser zipfile 最適化 asyncio base64 bdb diffli...ビルドの変更 C API の変更 新しい機能 Python 3.11 への移植 非推奨 Python 3.12 で削除予定 削除 Python 3.11.4での重要な変更点 tarfile Python 3.11.5での重要な変更点 OpenSSL What's New In Python 3.10 概要 -- リリースハイライト 新しい機能 カッコ内のコンテキス...3.10 への移行 非推奨 削除 3.10.7 の注目すべきセキュリティ機能 3.10.8 の注目すべきセキュリティ機能 3.10.12 の注目すべき変更 tarfile What's New In Python 3.9 概要 -- リリースハイライト コード中の非推奨警告(DeprecationWarning)をチェックして下さい 新しい機能... - https://man.mtool.work/python/3.14/contents.html
- モジュールのコマンドラインインターフェース (CLI) 8188
- モジュールのコマンドラインインターフェース (CLI) 以下のモジュールにはコマンドラインインターフェースがあります。 ast asyncio base64 calendar code compileall cProfile : see profile dis doctest encodings.rot_13 ensurepip filecmp fileinput ftpl
...etools platform poplib profile pstats py_compile pyclbr pydoc quopri random runpy site sqlite3 symtable sysconfig tabnanny tarfile this timeit tokenize trace turtledemo unittest uuid venv webbrowser zipapp zipfile Python コマンドラインインターフェース も... - https://man.mtool.work/python/3.14/library/cmdline.html
- 非推奨 7928
- 非推奨 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
...g.expand_makefile_vars() 関数は Python 3.14 から非推奨です。 代わりに sysconfig.get_paths() の vars 引数を使ってください。 tarfile : ドキュメント化されておらず、使われてもいない TarFile.tarfile 属性は Python 3.13 から非推奨です。 Python 3.17 で削除予定... - https://man.mtool.work/python/3.14/deprecations/
- What's New In Python 3.12 7928
- What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ
...ドを解析する際に ValueError の代わりに SyntaxError を送出するようになりました。 (Pablo Galindo が gh-96670 で貢献しました。) tarfile の展開用メソッドと shutil.unpack_archive() に、新しい filter 引数を追加しました。 展開先ディレクトリの外にファイルを作成す...るなど、予想外の動作や危険をもたらす可能性のある tar の機能を制限できます。 詳しくは tarfile の展開フィルター を参照してください。 Python 3.14 ではデフォルトが 'data' に変わります。 (Petr Viktorin が PEP 706 で貢献し...ack フィールドが非推奨になりました。 代わりに sys.last_exc を使ってください。 (Irit Katriel が gh-102778 で貢献しました。) tarfile : filter を指定せずに tar アーカイブを展開することは、 'data' フィルターがデフォルトになる Python 3.14 まで非推奨です。 詳... - https://man.mtool.work/python/3.14/whatsnew/3.12.html
- What's New In Python 3.8 7928
- What's New In Python 3.8 編集者 : Raymond Hettinger この記事では Python 3.7 と比較した Python 3.8 の新機能を解説します。 Python 3.8 は 2019 年 10 月 14 日にリリースされました。 詳しくは 変更履歴 を参照してください。 概要 -- リリースハイライ
...に dirs_exist_ok キーワード引数が追加されました。 (Contributed by Josh Bronson in bpo-20849 .) shutil.make_archive() は、 tarfile の対応する変更を受け、新しいアーカイブに新しい pax (POSIX.1-2001) 形式をデフォルトで使うようになりました。 移植性と標準への...外を送出した場合や、ガベージコレクション ( gc.collect() ) 中の例外などです。 (Contributed by Victor Stinner in bpo-36829 .) tarfile tarfile モジュールは、新しいアーカイブのデフォルト形式を従来の GNU 固有の形式から、新しい pax (POSIX.1-2001) 形式に変更しま...されました。 これらは Python 3.2 以前から非推奨でした。 代わりに urllib.parse と html モジュールからインポートしてください。 tarfile モジュールから filemode 関数が削除されました。 文書化されておらず、Python 3.3 から非推奨でした。 XMLParser のコンストラクタ... - https://man.mtool.work/python/3.14/whatsnew/3.8.html
- What's New In Python 3.13 7863
- What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71
...した。 これにより、一部の間違いをより早く見つけやすくなります。 (Serhiy Storchaka による gh-82626 での貢献。) bz2 、 lzma 、 tarfile 、 zipfile の圧縮ファイルやアーカイブのファイルライクオブジェクトに、 name 属性と mode 属性が追加されました。 (Serhiy Stor...で削除されます。 代わりに環境変数 PYTHONLEGACYWINDOWSFSENCODING を使ってください。 (Inada Naoki による gh-73427 での貢献。) tarfile : 非公開で使われていない TarFile.tarfile 属性が非推奨になりました。 Python 3.16 で削除されます。 ( gh-115256 での貢献。) t...g.expand_makefile_vars() 関数は Python 3.14 から非推奨です。 代わりに sysconfig.get_paths() の vars 引数を使ってください。 tarfile : ドキュメント化されておらず、使われてもいない TarFile.tarfile 属性は Python 3.13 から非推奨です。 Python 3.17 で削除予定... - https://man.mtool.work/python/3.14/whatsnew/3.13.html