This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twiggers
Recipients twiggers
Date 2017-02-03.14:37:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486132653.21.0.166387912558.issue29435@psf.upfronthosting.co.za>
In-reply-to
Content
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: https://github.com/python/cpython/blob/fcc3915a266b6cd220483c7020de0d71e293b2cb/Lib/tarfile.py#L2432
History
Date User Action Args
2017-02-03 14:37:33twiggerssetrecipients: + twiggers
2017-02-03 14:37:33twiggerssetmessageid: <1486132653.21.0.166387912558.issue29435@psf.upfronthosting.co.za>
2017-02-03 14:37:33twiggerslinkissue29435 messages
2017-02-03 14:37:33twiggerscreate