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 there by design. It's not an 
incidental effect of something else. It's part of the API, and it's used to 
indicate a common error condition: that the compression format is not supported.

----------

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

Reply via email to