[Tutor] Nicer error message

Válas Péter sulinet at postafiok.hu
Tue May 31 16:44:55 CEST 2011


2011. május 31. 16:39 Japhy Bartlett írta, <japhy at pearachute.com>:

> You could write directly to sys.stderr instead of raising an error.
>
> If other programmers have to work with your code, they'll probably
> find this _incredibly_ annoying.
>

You mean there is no way to write it nicely?
Or are error messages not intended to be written on screen?
Yes, this wil be used by others, and I want it be nice.  (Although they may
avoid making errors if they find it annoying. :-PP)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110531/b62e226f/attachment.html>


More information about the Tutor mailing list