Jason Heeris added the comment:
> Python documentation never document all possible exceptions raised by a
> method.
No, but clearly *some* exceptions are documented, and presumably there's some
reasoning behind which are and aren't.
In this case, the NotImplemented error is
Jason Heeris added the comment:
Sorry, that was run with Python 2.7.5+ on Ubuntu.
--
___
Python tracker
<http://bugs.python.org/issue22046>
___
___
Python-bug
Jason Heeris added the comment:
Okay, I've attached two files:
1. Scheme.zip, from issue 5701
2. "zftest.py", a script that you run in the same dir as "Scheme.zip" to
produce this:
$ python zftest.py
Extracting: 1!SCHEME.Z64
Traceback (most recent call last):
Fil
Changes by Jason Heeris :
Added file: http://bugs.python.org/file36280/zftest.py
___
Python tracker
<http://bugs.python.org/issue22046>
___
___
Python-bugs-list mailin
Changes by Jason Heeris :
Added file: http://bugs.python.org/file36279/Scheme.zip
___
Python tracker
<http://bugs.python.org/issue22046>
___
___
Python-bugs-list mailin
Jason Heeris added the comment:
@Ezio
I am pretty sure it was read(). I couldn't submit the file I used as an
example, so I'll see if I can construct a minimal example to post here.
--
___
Python tracker
<http://bugs.python.o
New submission from Jason Heeris:
As per issue 5701, the zipfile.ZipFile.read() method will throw a
NotImplementedError if the compression scheme is not supported. However, there
is no mention of this possibility in the documentation for the read() method. I
would suggest, say, "Calling