[issue24358] Should compression file-like objects provide .fileno(), misleading subprocess?
Josh Rosenberg
report at bugs.python.org
Tue Jun 2 03:39:33 CEST 2015
Josh Rosenberg added the comment:
Apparently similar issue occurs when tarfile assumes a GzipFile can have its fileno() fstat-ed (see #22468). An awful lot of libraries seem to assume that fileno() will provide useful information about the data you'd read from the file-like object itself, but all the compressed file-like objects violate that expectation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24358>
_______________________________________
More information about the Python-bugs-list
mailing list