[issue26440] tarfile._FileInFile.seekable is broken in stream mode

2016-02-25 Thread Bill Lee
Bill Lee added the comment: I posted an incomplete traceback by mistake. Here is the whole traceback. Traceback = Traceback (most recent call last): File "seekable.py", line 5, in print(contentFile.seekable()) File "/usr/local/lib/python3.5/tarfile.py", l

[issue26440] tarfile._FileInFile.seekable is broken in stream mode

2016-02-25 Thread Bill Lee
New submission from Bill Lee: Description === With a file object, retrieved by the `extractfile` method of a TarFile object opened in stream mode, calling its `seekable` method will raise an AttributeError. How to Reproduce cat > seekable.py << EOF import s