stderr is a lame hack?

Erik Jones erik at myemma.com
Fri Oct 12 16:36:07 EDT 2007


So, I was just taking a look at doctest.py and saw this:

Then running the module as a script will cause the examples in the
docstrings to get executed and verified:

python M.py

This won't display anything unless an example fails, in which case the
failing example(s) and the cause(s) of the failure(s) are printed to  
stdout
(why not stderr? because stderr is a lame hack <0.2 wink>), and the  
final
line of output is "Test failed.".


What does he mean by stderr being a lame hack?


Erik Jones

Software Developer | Emma®
erik at myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com





More information about the Python-list mailing list