[Python-Dev] [Python-checkins] r45321 - in python/trunk: Lib/test/test_traceback.py Lib/traceback.py Misc/NEWS

John J Lee jjl at pobox.com
Fri Apr 14 21:32:27 CEST 2006


On 2006年4月13日, "Martin v. Löwis" wrote:
> Tim Peters wrote:
>>> I'm not the one to decide, but at some time the traceback module should be
>>> rewritten to match the interpreter behavior.
>>>> No argument from me about that.
>> I also think the traceback module should be corrected, and the test
> cases updated, despite the objections that it may break other people's
> doctest test cases.

Assuming this is fixed in 2.5 final, is there some way to write doctests 
that work on both 2.4 and 2.5? If not, should something like 
doctest.IGNORE_EXCEPTION_DETAIL be added -- say IGNORE_EXCEPTION_MODULE?
John


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /