Greg Ewing wrote: > Talin wrote: > >> A typical example of what I am talking about here is something like a >> web application server, where you have a "development" mode and a >> "production" mode. In the development mode, you want to find errors as >> quickly as possible, so you enable strict formatting. In production, >> however, you want the server to be as fault-tolerant as possible, so you >> would enable lenient mode. > > This seems misguided. There's a difference between being > fault-tolerant and being bug-tolerant. I don't think that > ignoring symptoms of bugs and going on to produce incorrect > results is any more acceptable in a production web server > as it would be in any other environment.
It depends on the kind of web service you are running. For example, if your web site is a bank, then a crash may be preferable to an incorrect total; However if your web site is a blog, then something like "Last posted on ?MissingArgument?" might be preferable to a self-imposed denial of service attack, i.e. a server that produces no pages at all, or pages that say only "An error occurred while generating this page". In any case, this issue doesn't really matter to me. -- Talin _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com