Nick Coghlan <ncogh...@gmail.com> added the comment:

The corner case I was talking about was the one where you actually *want* the 
old, more restrictive behaviour (i.e. you specifically want to receive 
'x.y.Exception' and receiving 'a.b.Exception' instead should fail), but still 
want to ignore the details of the exception string representation.

With this change in place, that corner case could be handled fairly easily by 
using the ELLIPSIS option instead of IGNORE_EXCEPTION_DETAIL (or else mandating 
the exception details as well the type).

This change trips my "feature" meter, so it's probably too late for 2.7 (adding 
Benjamin to confirm), but definitely a good candidate for 3.2 later in the year.

----------
nosy: +benjamin.peterson
versions: +Python 3.2 -Python 3.1

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

Reply via email to