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
Thom Wiggers added the comment:
This bug is still present in Python 3.5.
It breaks, probably among other things, this package:
https://github.com/ahupp/python-magic/issues/114.
--
nosy: +twiggers
versions: +Python 3.5
___
Python tracker
<h