[Python-Dev] Using logging in the stdlib and its unit tests (original) (raw)
Georg Brandl g.brandl at gmx.net
Wed Dec 8 11:48:16 CET 2010
- Previous message: [Python-Dev] Using logging in the stdlib and its unit tests
- Next message: [Python-Dev] Using logging in the stdlib and its unit tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
Georg
- Previous message: [Python-Dev] Using logging in the stdlib and its unit tests
- Next message: [Python-Dev] Using logging in the stdlib and its unit tests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]