[issue7490] IGNORE_EXCEPTION_DETAIL should ignore the module name

Nick Coghlan report at bugs.python.org
Thu Jul 29 00:25:27 CEST 2010


Nick Coghlan <ncoghlan at gmail.com> added the comment:

On Wed, Jul 28, 2010 at 11:40 PM, Peter <report at bugs.python.org> wrote:
>
> Peter <p.j.a.cock at googlemail.com> added the comment:
>
> I take it the IGNORE_EXCEPTION_DETAIL should ignore the module name
> fix will not be applied to Python 3.1.x?

Correct (it's a new feature rather than a bug fix)

> Is there a separate bug to enhance 2to3 to turn IGNORE_EXCEPTION_DETAIL
> on?

That would be a separate request, but I'm not sure it is even feasible
(doctests live inside strings, so I believe 2to3 has trouble fixing
them - otherwise we would just get it to handle the exception renaming
directly). Feel free to post an RFE though - the 2to3 folks can take a
look at it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7490>
_______________________________________


More information about the Python-bugs-list mailing list