[issue22046] ZipFile.read() should mention that it might throw NotImplementedError

2014-08-02 Thread Tuikku Anttila

Tuikku Anttila added the comment:

Added to the documentation of zipfile.ZipFile.read() that the method will throw 
a NotImplementedError when the compression scheme of the ZipFile is something 
else than ZIP_STORED, ZIP_DEFLATED, ZIP_BZIP2 or ZIP_LZMA.

--
keywords: +patch
nosy: +Tuikku.Anttila
Added file: http://bugs.python.org/file36206/issue22046.patch

___
Python tracker 
<http://bugs.python.org/issue22046>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22046] ZipFile.read() should mention that it might throw NotImplementedError

2014-08-05 Thread Tuikku Anttila

Tuikku Anttila added the comment:

Added mention that an error might also be raised if the method is not available.

--
Added file: http://bugs.python.org/file36270/22046_1.patch

___
Python tracker 
<http://bugs.python.org/issue22046>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com