Martin Panter added the comment:

I think a warning in the documentation might be helpful.

However a special check in the code doesn’t seem right. Would you check for 
LZMAFile and BZ2File as well? Some of the other attributes (modification time, 
owner, etc) may be useful even for a GzipFile, and the programmer can just 
overwrite the file size attribute if necessary.

----------
nosy: +vadmium

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22468>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to