[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread William Woodruff
William Woodruff added the comment: Thanks to you to! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread Ethan Furman
Ethan Furman added the comment: Thanks, William! -- assignee: -> ethan.furman resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-22 Thread Ethan Furman
Ethan Furman added the comment: New changeset dd754caf144009f0569dda5053465ba2accb7b4d by Ethan Furman (William Woodruff) in branch 'master': bpo-29435: Allow is_tarfile to take a filelike obj (GH-18090) https://github.com/python/cpython/commit/dd754caf144009f0569dda5053465ba2accb7b4d -

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-20 Thread William Woodruff
Change by William Woodruff : -- keywords: +patch pull_requests: +17482 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18090 ___ Python tracker ___

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman, xtreak versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-lis

[issue29435] Allow to pass fileobj to is_tarfile

2020-01-17 Thread William Woodruff
William Woodruff added the comment: I'll take a stab at this. It looks like `Tarfile.open` takes an optional keyword that should make this straightforward. -- nosy: +yossarian ___ Python tracker ___

[issue29435] Allow to pass fileobj to is_tarfile

2017-02-03 Thread Thom Wiggers
New submission from Thom Wiggers: The tarfile.is_tarfile() function only supports opening from paths. However, the `Tarfile` class also supports opening from `fileobj`s. It would be useful if the is_tarfile function would also accept those. For reference, this is the current implementation: h