[issue7490] IGNORE_EXCEPTION_DETAIL should ignore the module name
Nick Coghlan
report at bugs.python.org
Mon Dec 14 00:33:52 CET 2009
Nick Coghlan <ncoghlan at gmail.com> added the comment:
The only design level question I can see is as follows:
ExceptionName matches ExceptionName (always)
a.b.ExceptionName matches ExceptionName (under IGNORE_EXCEPTION_DETAIL)
ExceptionName matches a.b.ExceptionName (under IGNORE_EXCEPTION_DETAIL)
a.b.ExceptionName matches x.y.ExceptionName (???)
Should that 4th case still match under IGNORE_EXCEPTION_DETAIL? My
personal inclination is that it should match, but figured the point was
worth discussing explicitly.
The main reason I think it should match is that it would allow
reasonably graceful handling of module renames between 2.x and 3.x.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7490>
_______________________________________
More information about the Python-bugs-list
mailing list