[Python-Dev] Unittest/doctest formatting differences in 2.7a1?

Terry Reedy tjreedy at udel.edu
Thu Dec 10 20:25:54 CET 2009

Lennart Regebro wrote:
> On Thu, Dec 10, 2009 at 00:47, Paul Moore <p.f.moore at gmail.com> wrote:

>> When the IGNORE_EXCEPTION_DETAIL doctest option is is specified,
>> everything following the leftmost colon is ignored.
>> """
> Note that the difference is *before* the leftmost colon.
> On Thu, Dec 10, 2009 at 00:49, Ian Bicking <ianb at colorstudy.com> wrote:
>> Maybe that could be extended to also ignore everything up to a period
>> (i.e., ignore the module name that seems to show up in 2.7 exception
>> names, but not in previous versions).
> That sounds good to me.

Since the intent of IGNORE_EXCEPTION_DETAIL is to make doctests immune 
to implementation version specific changes, it seems to me that 
extending its technical meaning is required to carry out its intent.

More information about the Python-Dev mailing list