On Wed, 08 Dec 2010 11:48:16 +0100 Georg Brandl <g.bra...@gmx.net> wrote: > Am 08.12.2010 10:42, schrieb Antoine Pitrou: > > >> But errors don't pass silently, do they? The usual way to present errors > >> is still by raising exceptions. > > > > Or logging them. > > http://docs.python.org/dev/library/logging.html#logging.Logger.exception > > Yes, thank you I'm aware of the exception() method. But hopefully standard > library modules don't use it to report exceptions to code that uses them?
I'm not aware of that, but there are certainly third-party libs using it (think an HTTP server that wants to log an error in one of its request handlers without the error taking the whole server down). Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com