[Python-Dev] Deprecate doctest?

Aahz aahz@pythoncraft.com
Wed, 18 Dec 2002 07:36:39 -0500


On Wed, Dec 18, 2002, M.-A. Lemburg wrote:
> Aahz wrote:
>>On Mon, Dec 16, 2002, Guido van Rossum wrote:
>>>Aahz:
>>>>
>>>>That's tricky, given that doctest is in the standard library, and that's
>>>>exactly what doctest does.  Are you advocating deprecating doctest?
>>>
>>>You gotta be kidding.
>>
>>Of *course* I was, but I couldn't figure out what else MAL meant.
> 
> Inever talked about doctest; only the fact that error message
> strings should not be relied on since these tend to change
> rather often between Python releases. It is also possible that
> some of these cat get localized (I remember having seen Martin work
> on something like this in the past).

I'd say a better statement is "rely only on error strings that you
control; don't rely on Python's internal error strings".
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy@lion.austin.ibm.com