]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29435: Allow is_tarfile to take a filelike obj (GH-18090)
authorWilliam Woodruff <william@yossarian.net>
Thu, 23 Jan 2020 02:24:16 +0000 (21:24 -0500)
committerEthan Furman <ethan@stoneleaf.us>
Thu, 23 Jan 2020 02:24:16 +0000 (18:24 -0800)
commitdd754caf144009f0569dda5053465ba2accb7b4d
tree536217d96dcb3e1d5f57b0bcd53da66059a15ad3
parent41f0ef6abbd304409c55612a08788cdd59fbc8a3
bpo-29435: Allow is_tarfile to take a filelike obj (GH-18090)

`is_tarfile()` now supports `name` being a file or file-like object.
Doc/library/tarfile.rst
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/ACKS
Misc/NEWS.d/next/Library/2020-01-20-18-48-00.bpo-29435.qqJ2Ax.rst [new file with mode: 0644]