On Jun 18, 2013, at 2:13 PM, Itamar Turner-Trauring <ita...@itamarst.org> wrote:

> On 06/18/2013 02:22 PM, Glyph wrote:
>> Making an API that previously documented raising (or failing) exception 
>> types A, B, and C raise (or fail with) D is not necessarily a compatible 
>> change.  Making it raise (or fail with) A' (a subclass of A) is, though.
>> 
> The API for pop3client does *not* document the expected exceptions, so 
> backwards compatibility isn't really an issue here.

Hrm.  I would say that if you don't document exceptions, then you just have to 
support whatever your behavior was before :).

http://twistedmatrix.com/trac/wiki/CompatibilityPolicy does not explore this 
issue, though.

-glyph

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to